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.00158/0.00158, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001821/0.001821, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 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 1.573/1.573, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.925/2.925, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.164e-06/2.164e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.249e-05, allocations: 4.281 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00201/0.002042, allocations: 0.6939 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.004052, allocations: 1.289 MB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.004108, allocations: 1.344 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.00414, allocations: 3.938 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.00423, allocations: 19.8 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.005256, allocations: 302.5 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.005657, allocations: 255.5 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005762, allocations: 16.17 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.006051, allocations: 141.4 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.006245, allocations: 71.88 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.006302, allocations: 24 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.006397, allocations: 31.98 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.006429, allocations: 18.11 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.006548, allocations: 75.88 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.006966, allocations: 271.3 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006969, allocations: 0 / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00697, allocations: 0 / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.006976, allocations: 0 / 0.8139 GB, free: 14.9 MB / 0.7761 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.0007404/0.007717, allocations: 423.6 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.007764, allocations: 8.031 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.00788, allocations: 25.61 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.008011, allocations: 114.2 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.008043, allocations: 4.375 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.008095, allocations: 25.98 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.008239, allocations: 50.23 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.008248, allocations: 192 / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.008261, allocations: 4.375 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.008271, allocations: 8.656 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.008328, allocations: 15.98 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.008934, allocations: 329.5 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.009012, allocations: 26.58 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.009054, allocations: 16.94 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.009069, allocations: 5.156 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.009313, allocations: 103.2 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.009314, allocations: 1.375 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0004217/0.009736, allocations: 153.5 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.00979, allocations: 51.41 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.009935, allocations: 137.4 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.009987, allocations: 39.27 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.01008, allocations: 96.08 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01011, allocations: 23.97 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.01026, allocations: 69.67 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.01043, allocations: 319.8 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.01074, allocations: 181 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.01106, allocations: 225 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.0114, allocations: 248.4 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.0114, allocations: 0.9688 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008214/0.01222, allocations: 485.6 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/0.01232, allocations: 101.1 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01233, allocations: 3.938 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.01235, allocations: 4 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.89e-05/0.01238, allocations: 6.25 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01239, allocations: 4.062 kB / 0.8171 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.01289, allocations: 84.83 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.01294, allocations: 19.98 kB / 0.8172 GB, free: 11.24 MB / 0.7761 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 0.0001413/0.01308, allocations: 135.7 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.01311, allocations: 11.89 kB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.01314, allocations: 16.42 kB / 0.8173 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01314, allocations: 1.031 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.01315, allocations: 4 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.01316, allocations: 3.984 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.01332, allocations: 137.8 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01332, allocations: 0 / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.01333, allocations: 11.36 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01334, allocations: 3.938 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.01335, allocations: 0 / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01335, allocations: 0 / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01335, allocations: 0 / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.0136, allocations: 149 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01361, allocations: 3.953 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.01363, allocations: 7.938 kB / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.01366, allocations: 0 / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.0137, allocations: 14.23 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01371, allocations: 7.984 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.01379, allocations: 99.27 kB / 0.8178 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01379, allocations: 0 / 0.8178 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002837/0.01408, allocations: 39.94 kB / 0.8178 GB, free: 10.56 MB / 0.7761 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.0001822/0.01426, allocations: 108.2 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000635/0.01489, allocations: 412.2 kB / 0.8183 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01489, allocations: 0 / 0.8183 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.01497, allocations: 33.05 kB / 0.8183 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01526, allocations: 30.88 kB / 0.8184 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.01575, allocations: 194.1 kB / 0.8186 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.234e-05/0.01584, allocations: 88.7 kB / 0.8186 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.01588, allocations: 8.5 kB / 0.8186 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.01591, allocations: 14.19 kB / 0.8187 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01591, allocations: 0 / 0.8187 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.00756/0.02347, allocations: 2.931 MB / 0.8215 GB, free: 6.742 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.188886260031722]