Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001425/0.001425, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001496/0.001496, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9966/0.9966, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.47/2.47, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.976e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002362/0.002392, allocations: 0.8203 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.004675, allocations: 1.547 MB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004777, allocations: 3.938 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.004916, allocations: 19.8 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.591e-05/0.005011, allocations: 35.7 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.006211, allocations: 0.4989 MB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.006673, allocations: 475.1 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.006793, allocations: 38.3 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.007022, allocations: 255.7 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.007197, allocations: 139.7 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.007245, allocations: 44 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.007329, allocations: 52 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.007378, allocations: 47.83 kB / 0.8425 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.007485, allocations: 127.8 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.007824, allocations: 363 kB / 0.8429 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.007827, allocations: 4 kB / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.342e-06/0.007829, allocations: 0 / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.007833, allocations: 0 / 0.8429 GB, free: 9.758 MB / 0.8073 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.0005135/0.008346, allocations: 0.5395 MB / 0.8435 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00838, allocations: 8.625 kB / 0.8435 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.008441, allocations: 40.89 kB / 0.8435 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.008638, allocations: 169.5 kB / 0.8437 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008657, allocations: 20.36 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.008699, allocations: 32.38 kB / 0.8437 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.008813, allocations: 107.8 kB / 0.8438 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.00882, allocations: 192 / 0.8438 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008831, allocations: 8.375 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.008836, allocations: 384 / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.008873, allocations: 35.98 kB / 0.8439 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.009273, allocations: 403.2 kB / 0.8443 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.009359, allocations: 62.5 kB / 0.8443 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.009383, allocations: 16.86 kB / 0.8443 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.009389, allocations: 4 kB / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.009522, allocations: 143.3 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.009524, allocations: 0 / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002585/0.009782, allocations: 143 kB / 0.8446 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.009824, allocations: 55.41 kB / 0.8447 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.009959, allocations: 183.4 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.01001, allocations: 45.69 kB / 0.8449 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.0101, allocations: 128.5 kB / 0.845 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.01013, allocations: 39.67 kB / 0.845 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.0103, allocations: 105.6 kB / 0.8451 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01041, allocations: 334.7 kB / 0.8455 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.01065, allocations: 236.4 kB / 0.8457 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.01093, allocations: 331.5 kB / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.01125, allocations: 355.7 kB / 0.8463 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01126, allocations: 4 kB / 0.8463 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006266/0.01188, allocations: 0.6034 MB / 0.8469 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/0.01198, allocations: 160.5 kB / 0.8471 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.01199, allocations: 7.984 kB / 0.8471 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.012, allocations: 4 kB / 0.8471 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.683e-05/0.01203, allocations: 7.938 kB / 0.8471 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01204, allocations: 4 kB / 0.8471 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.01245, allocations: 104 kB / 0.8472 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.0125, allocations: 27.97 kB / 0.8472 GB, free: 4.91 MB / 0.8073 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.0001387/0.01264, allocations: 156.5 kB / 0.8474 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.01267, allocations: 19.98 kB / 0.8474 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.01271, allocations: 17.81 kB / 0.8474 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01271, allocations: 0 / 0.8474 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01271, allocations: 4 kB / 0.8474 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01272, allocations: 7.984 kB / 0.8474 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.01307, allocations: 344.7 kB / 0.8478 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01308, allocations: 0 / 0.8478 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.0131, allocations: 15.92 kB / 0.8478 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.0131, allocations: 0 / 0.8478 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01311, allocations: 4 kB / 0.8478 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01311, allocations: 3.938 kB / 0.8478 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01311, allocations: 0 / 0.8478 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.01328, allocations: 207.2 kB / 0.848 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01329, allocations: 15.91 kB / 0.848 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.01331, allocations: 4 kB / 0.848 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.01339, allocations: 7.984 kB / 0.848 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.01344, allocations: 22.78 kB / 0.848 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01345, allocations: 8 kB / 0.848 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.01349, allocations: 54.23 kB / 0.8481 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01349, allocations: 0 / 0.8481 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003634/0.01386, allocations: 83.89 kB / 0.8482 GB, free: 3.898 MB / 0.8073 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.0001534/0.01401, allocations: 97.53 kB / 0.8483 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.01457, allocations: 0.6272 MB / 0.8489 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01458, allocations: 4 kB / 0.8489 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.01465, allocations: 51.19 kB / 0.8489 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01497, allocations: 56.58 kB / 0.849 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.01549, allocations: 292.6 kB / 0.8493 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.01555, allocations: 75.98 kB / 0.8493 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.853e-05/0.0156, allocations: 17.48 kB / 0.8493 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.01589, allocations: 131.3 kB / 0.8495 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.01589, allocations: 0 / 0.8495 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.00953/0.02542, allocations: 5.488 MB / 0.8548 GB, free: 13.04 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.588922993745655]