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.001371/0.001371, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001528/0.001528, allocations: 161 kB / 23.82 MB, free: 0.75 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.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.968/1.968, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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.755e-06/2.755e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.195e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001724/0.001756, allocations: 0.8292 MB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.003466, allocations: 1.534 MB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.003556, allocations: 0.625 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003686, allocations: 15.8 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.003752, allocations: 45.05 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.004802, allocations: 0.4937 MB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.005343, allocations: 488.6 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.005491, allocations: 29.67 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.005741, allocations: 260.9 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.005941, allocations: 143.6 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.006003, allocations: 40 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.006105, allocations: 53.83 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.006167, allocations: 43.84 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.006309, allocations: 131.8 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.006679, allocations: 363 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006682, allocations: 0 / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.006683, allocations: 1.125 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.006689, allocations: 0 / 0.8159 GB, free: 13.27 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.000743/0.007432, allocations: 0.6644 MB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.007476, allocations: 9 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.007581, allocations: 48.78 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.00787, allocations: 204.3 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.007894, allocations: 17.12 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.007946, allocations: 32.31 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.008131, allocations: 126.1 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.008144, allocations: 1.344 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.008157, allocations: 384 / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.00817, allocations: 4.375 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.008241, allocations: 48.23 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.008911, allocations: 0.6595 MB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.009043, allocations: 71.05 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.00909, allocations: 36.89 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.009099, allocations: 0 / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.009266, allocations: 155.9 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.009268, allocations: 0 / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003406/0.009608, allocations: 213.6 kB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.009646, allocations: 59.39 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009792, allocations: 242.7 kB / 0.8184 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.009829, allocations: 37.7 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.009927, allocations: 180.9 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.009956, allocations: 39.75 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.0101, allocations: 119.3 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01023, allocations: 0.5001 MB / 0.8192 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.01051, allocations: 283.8 kB / 0.8195 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.01081, allocations: 397.2 kB / 0.8199 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.01114, allocations: 408 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.01114, allocations: 1.5 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007522/0.01189, allocations: 0.7478 MB / 0.821 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.01199, allocations: 170.2 kB / 0.8212 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.012, allocations: 4 kB / 0.8212 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.01202, allocations: 7.984 kB / 0.8212 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.597e-05/0.01204, allocations: 4 kB / 0.8212 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.01205, allocations: 7.938 kB / 0.8212 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.0124, allocations: 110.8 kB / 0.8213 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.01244, allocations: 35.97 kB / 0.8213 GB, free: 7.18 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.0001336/0.01258, allocations: 189.6 kB / 0.8215 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.0126, allocations: 31.84 kB / 0.8216 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.01264, allocations: 18.66 kB / 0.8216 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01265, allocations: 3.984 kB / 0.8216 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.01266, allocations: 2 kB / 0.8216 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01266, allocations: 3.938 kB / 0.8216 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.01306, allocations: 465.2 kB / 0.822 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01307, allocations: 3.938 kB / 0.822 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.01308, allocations: 4 kB / 0.822 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01308, allocations: 4.703 kB / 0.822 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01309, allocations: 8 kB / 0.822 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.01309, allocations: 9.047 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.0131, allocations: 4.062 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.01331, allocations: 320.5 kB / 0.8224 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.01332, allocations: 13 kB / 0.8224 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.01334, allocations: 0 / 0.8224 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.01338, allocations: 11.94 kB / 0.8224 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.01343, allocations: 17.06 kB / 0.8224 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01344, allocations: 11.98 kB / 0.8224 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.01351, allocations: 160.2 kB / 0.8226 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01351, allocations: 0.5 kB / 0.8226 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002761/0.01379, allocations: 80.59 kB / 0.8226 GB, free: 5.789 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.0001505/0.01394, allocations: 110 kB / 0.8227 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.01449, allocations: 0.6834 MB / 0.8234 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01449, allocations: 0 / 0.8234 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.01457, allocations: 65.66 kB / 0.8235 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01486, allocations: 48.98 kB / 0.8235 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.01532, allocations: 314.8 kB / 0.8238 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.01537, allocations: 75.98 kB / 0.8239 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01542, allocations: 21.47 kB / 0.8239 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.01546, allocations: 24.5 kB / 0.8239 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.01546, allocations: 0 / 0.8239 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of Templates: time 0.008207/0.02366, allocations: 5.084 MB / 0.8289 GB, free: 15.37 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.521453327033669]