Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 165.4 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9759/0.9759, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.354e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001419/0.001443, allocations: 0.7054 MB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002734, allocations: 1.322 MB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.002782, allocations: 4 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.002817, allocations: 8.594 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.002919, allocations: 19.44 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.003582, allocations: 302.8 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.003936, allocations: 258 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004058, allocations: 16.11 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.00428, allocations: 143.8 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.004413, allocations: 76.39 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.004449, allocations: 25.12 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.004523, allocations: 35.98 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.004547, allocations: 15.92 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.004616, allocations: 72.78 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.004829, allocations: 195.6 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.004834, allocations: 3.938 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004835, allocations: 1.25 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.00484, allocations: 0 / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004452/0.005286, allocations: 389.7 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.00532, allocations: 9.062 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.00537, allocations: 24.91 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.005728, allocations: 113.7 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.00575, allocations: 8.938 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.005776, allocations: 14.12 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.005864, allocations: 74.84 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005871, allocations: 192 / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005878, allocations: 384 / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.005885, allocations: 4.125 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.005902, allocations: 13.2 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.006185, allocations: 204.2 kB / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.006226, allocations: 26.58 kB / 0.764 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.006241, allocations: 13.39 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.006247, allocations: 1.125 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/0.006346, allocations: 91.42 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.006347, allocations: 4 kB / 0.7641 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000146/0.006493, allocations: 90.28 kB / 0.7642 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.006524, allocations: 56 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.006596, allocations: 144.8 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.006621, allocations: 34.45 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.006663, allocations: 100.1 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.006678, allocations: 20.84 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.006754, allocations: 61.66 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.006825, allocations: 322.8 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.006926, allocations: 142.2 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.007062, allocations: 196.6 kB / 0.7652 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.007204, allocations: 208.4 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007206, allocations: 4 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002504/0.007457, allocations: 362.1 kB / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.007511, allocations: 113 kB / 0.7659 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007516, allocations: 0 / 0.7659 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.007529, allocations: 4 kB / 0.7659 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.007548, allocations: 9.812 kB / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.007552, allocations: 0 / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.00775, allocations: 60.92 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.007774, allocations: 15.98 kB / 0.7659 GB, free: 312 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.00785, allocations: 128.1 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.007862, allocations: 13.08 kB / 0.7661 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.007885, allocations: 12.38 kB / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007887, allocations: 0 / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.007889, allocations: 6.75 kB / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007892, allocations: 0 / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.247e-05/0.007965, allocations: 89.86 kB / 0.7662 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.007967, allocations: 7.922 kB / 0.7662 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-06/0.007972, allocations: 0 / 0.7662 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.007974, allocations: 4 kB / 0.7662 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.007978, allocations: 0 / 0.7662 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.00798, allocations: 0 / 0.7662 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007981, allocations: 6.5 kB / 0.7662 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.614e-05/0.008077, allocations: 93.03 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.008086, allocations: 7.953 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.008096, allocations: 4 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.008111, allocations: 7.984 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.008136, allocations: 11.92 kB / 0.7663 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.008141, allocations: 4 kB / 0.7663 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.889e-05/0.00816, allocations: 27.05 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00816, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001515/0.008312, allocations: 40 kB / 0.7664 GB, free: 15.81 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.008428, allocations: 88.34 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.008687, allocations: 381.5 kB / 0.7668 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.008692, allocations: 4.688 kB / 0.7668 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.008723, allocations: 28.78 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.008857, allocations: 35.58 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.009111, allocations: 179.8 kB / 0.7671 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.096e-05/0.009142, allocations: 67.28 kB / 0.7671 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.009167, allocations: 13.61 kB / 0.7671 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.009287, allocations: 83.34 kB / 0.7672 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.009288, allocations: 0 / 0.7672 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.004331/0.01362, allocations: 3.157 MB / 0.7703 GB, free: 11.86 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25152024300769]