Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001039/0.001039, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001326/0.001326, allocations: 181 kB / 24.09 MB, free: 416 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.9594/0.9594, 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.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.165e-05, allocations: 3.625 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001405/0.001427, allocations: 0.8274 MB / 0.8128 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.002851, allocations: 1.528 MB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.002915, allocations: 7.938 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.003025, allocations: 11.86 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.003077, allocations: 39.64 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.003826, allocations: 0.5021 MB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.004192, allocations: 481.1 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004308, allocations: 29.66 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.004497, allocations: 259.7 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.004655, allocations: 143.6 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.004707, allocations: 41.72 kB / 0.8158 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.00479, allocations: 51.98 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.004835, allocations: 43.84 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.004938, allocations: 139.8 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.005217, allocations: 359 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005219, allocations: 0.875 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00522, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005223, allocations: 0.5312 kB / 0.8164 GB, free: 13.01 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.0004987/0.005722, allocations: 0.6689 MB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.005755, allocations: 8.031 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.005821, allocations: 45.31 kB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006023, allocations: 200.3 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.006041, allocations: 21.67 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.006079, allocations: 28.38 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006204, allocations: 117.5 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.006211, allocations: 0.7188 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006221, allocations: 5.75 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.006229, allocations: 4.375 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.006271, allocations: 35.77 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.006742, allocations: 0.6248 MB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.006828, allocations: 82.95 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.006855, allocations: 28.86 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.006862, allocations: 4 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.006993, allocations: 145.8 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.006994, allocations: 0 / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002359/0.00723, allocations: 192.9 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.007258, allocations: 55.41 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.007365, allocations: 239.9 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.0074, allocations: 41.7 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.007476, allocations: 175.3 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.007499, allocations: 44.56 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.007613, allocations: 123.2 kB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007729, allocations: 0.5039 MB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.007896, allocations: 261.6 kB / 0.8199 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.008104, allocations: 369.2 kB / 0.8202 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.008343, allocations: 396.5 kB / 0.8206 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008345, allocations: 0 / 0.8206 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005689/0.008914, allocations: 0.7117 MB / 0.8213 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.00898, allocations: 157 kB / 0.8215 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008986, allocations: 5.344 kB / 0.8215 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008999, allocations: 4 kB / 0.8215 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.011e-05/0.00902, allocations: 11.92 kB / 0.8215 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.009024, allocations: 4.906 kB / 0.8215 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.009304, allocations: 108 kB / 0.8216 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.009343, allocations: 39.91 kB / 0.8216 GB, free: 7.102 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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 9.981e-05/0.009442, allocations: 182 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.009465, allocations: 31.89 kB / 0.8218 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.009492, allocations: 13.81 kB / 0.8218 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.009497, allocations: 10.61 kB / 0.8219 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.009498, allocations: 0 / 0.8219 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.009505, allocations: 3.984 kB / 0.8219 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.009796, allocations: 437.8 kB / 0.8223 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009798, allocations: 3.938 kB / 0.8223 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.009806, allocations: 4 kB / 0.8223 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009809, allocations: 0 / 0.8223 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.009816, allocations: 8.938 kB / 0.8223 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009818, allocations: 3.984 kB / 0.8223 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009819, allocations: 1.125 kB / 0.8223 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.009979, allocations: 312.3 kB / 0.8226 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.009991, allocations: 11.91 kB / 0.8226 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.01, allocations: 9.016 kB / 0.8226 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.01004, allocations: 4 kB / 0.8226 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.01007, allocations: 15.97 kB / 0.8226 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01008, allocations: 17.06 kB / 0.8226 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.01013, allocations: 152.1 kB / 0.8228 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01013, allocations: 0 / 0.8228 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002291/0.01036, allocations: 84.98 kB / 0.8229 GB, free: 5.773 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001053/0.01047, allocations: 118.3 kB / 0.823 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.01086, allocations: 0.6424 MB / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01086, allocations: 0 / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.01091, allocations: 59.59 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.0002436/0.01116, allocations: 50.28 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.01148, allocations: 305.4 kB / 0.824 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.01152, allocations: 79.92 kB / 0.8241 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.01156, allocations: 19.3 kB / 0.8241 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.01176, allocations: 166.1 kB / 0.8243 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01176, allocations: 0 / 0.8243 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of Templates: time 0.006089/0.01785, allocations: 5.523 MB / 0.8297 GB, free: 14.81 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.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.229822339024395]