Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0009543/0.0009543, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009832/0.0009832, allocations: 185 kB / 24.09 MB, free: 412 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.9351/0.9351, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.819e-05, allocations: 5.891 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001305/0.001324, allocations: 0.8179 MB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.00272, allocations: 1.524 MB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.002781, allocations: 3.938 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.002888, allocations: 27.73 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.00294, allocations: 40.56 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.003674, allocations: 0.4989 MB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.004293, allocations: 475.1 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004403, allocations: 31.03 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.00459, allocations: 255.7 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.004745, allocations: 147.6 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.004794, allocations: 40 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.004874, allocations: 57.73 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.004923, allocations: 43.83 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.005024, allocations: 131.8 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.005286, allocations: 367 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005288, allocations: 0 / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.005289, allocations: 0.9688 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.005292, allocations: 0 / 0.8163 GB, free: 13.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005225/0.005814, allocations: 0.6648 MB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.005849, allocations: 16.02 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.005922, allocations: 41.52 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.006119, allocations: 204.3 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.006136, allocations: 17.59 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.006173, allocations: 32.31 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006293, allocations: 117.5 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006301, allocations: 2.75 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.006309, allocations: 384 / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006316, allocations: 4.375 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.006355, allocations: 42.2 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.006813, allocations: 0.6275 MB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.00691, allocations: 75.56 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.006937, allocations: 24.39 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.006944, allocations: 8.516 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.00707, allocations: 142.6 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.007071, allocations: 0 / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002348/0.007306, allocations: 192.1 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.007338, allocations: 71.27 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007441, allocations: 235.3 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.007475, allocations: 42.39 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.007553, allocations: 171.3 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.007578, allocations: 44.41 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.007694, allocations: 119.3 kB / 0.8191 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007803, allocations: 0.5087 MB / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.007983, allocations: 256.4 kB / 0.8199 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.008184, allocations: 365.2 kB / 0.8202 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.008419, allocations: 398.6 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008421, allocations: 2.219 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005435/0.008965, allocations: 0.7089 MB / 0.8213 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.009028, allocations: 160.5 kB / 0.8215 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009034, allocations: 4 kB / 0.8215 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.009048, allocations: 7.984 kB / 0.8215 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.009069, allocations: 11.94 kB / 0.8215 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.009073, allocations: 4 kB / 0.8215 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.009356, allocations: 105.8 kB / 0.8216 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.009393, allocations: 36.41 kB / 0.8216 GB, free: 7.109 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0003488/0.009742, allocations: 194 kB / 0.8218 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.009762, allocations: 19.91 kB / 0.8218 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.00979, allocations: 18.91 kB / 0.8218 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.009794, allocations: 4 kB / 0.8218 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.009796, allocations: 0 / 0.8218 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0098, allocations: 8.578 kB / 0.8219 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.01008, allocations: 433.8 kB / 0.8223 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01008, allocations: 0.7188 kB / 0.8223 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.01009, allocations: 15.94 kB / 0.8223 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.0101, allocations: 0 / 0.8223 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.0101, allocations: 7.984 kB / 0.8223 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01011, allocations: 0 / 0.8223 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01011, allocations: 0 / 0.8223 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01026, allocations: 304.5 kB / 0.8226 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.01027, allocations: 19.83 kB / 0.8226 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.01028, allocations: 7.984 kB / 0.8226 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.01032, allocations: 4 kB / 0.8226 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.01035, allocations: 19.97 kB / 0.8226 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01036, allocations: 7.938 kB / 0.8226 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.01041, allocations: 169.4 kB / 0.8228 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 0.8228 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002277/0.01064, allocations: 75.94 kB / 0.8229 GB, free: 5.777 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001109/0.01075, allocations: 114.8 kB / 0.823 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.01114, allocations: 0.6485 MB / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01114, allocations: 0 / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.0112, allocations: 60.61 kB / 0.8237 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01145, allocations: 49.67 kB / 0.8237 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01181, allocations: 311.3 kB / 0.824 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01185, allocations: 83.86 kB / 0.8241 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.01189, allocations: 18.64 kB / 0.8241 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.0121, allocations: 162.1 kB / 0.8243 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.0121, allocations: 0 / 0.8243 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of Templates: time 0.006982/0.01908, allocations: 5.508 MB / 0.8296 GB, free: 14.82 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.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.177003288175911]