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.002498/0.002498, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002806/0.002806, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.038/3.038, allocations: 377.8 MB / 0.6232 GB, free: 8.559 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|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.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.113e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002205/0.002236, allocations: 0.8209 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.004575, allocations: 1.504 MB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.004646, allocations: 3.938 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004778, allocations: 23.8 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.004854, allocations: 32.53 kB / 0.8132 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.00609, allocations: 0.5062 MB / 0.8137 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.006743, allocations: 480.9 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.006884, allocations: 25.67 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.007221, allocations: 255.7 kB / 0.8144 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.007507, allocations: 152.7 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.007606, allocations: 40 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.007738, allocations: 51.98 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.007812, allocations: 48.39 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.008019, allocations: 132.8 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.008666, allocations: 490.7 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00867, allocations: 0 / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008671, allocations: 0.9375 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.008677, allocations: 0 / 0.8153 GB, free: 13.59 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.0009531/0.00963, allocations: 0.6796 MB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.009668, allocations: 10.31 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.009797, allocations: 40.8 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.01019, allocations: 204.3 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.01022, allocations: 20.38 kB / 0.8162 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/0.0103, allocations: 32.36 kB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.01056, allocations: 137.5 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01058, allocations: 4.703 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.0106, allocations: 5.094 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.01061, allocations: 4.375 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.01073, allocations: 48.41 kB / 0.8164 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.01205, allocations: 0.6792 MB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01225, allocations: 90.97 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.01233, allocations: 40.3 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.01235, allocations: 4 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.01261, allocations: 164 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.01261, allocations: 0.5938 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.000518/0.01313, allocations: 243.3 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.01318, allocations: 55.41 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.01345, allocations: 267.6 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.01351, allocations: 41.64 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01368, allocations: 179.4 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.01373, allocations: 48.89 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.01398, allocations: 135.3 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002947/0.01427, allocations: 0.504 MB / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.01478, allocations: 345.3 kB / 0.8191 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.01541, allocations: 461.2 kB / 0.8195 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.01603, allocations: 464.3 kB / 0.82 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01603, allocations: 0 / 0.82 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001383/0.01741, allocations: 0.843 MB / 0.8208 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.01756, allocations: 165 kB / 0.821 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01757, allocations: 4 kB / 0.821 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01759, allocations: 4.562 kB / 0.821 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.01762, allocations: 12.95 kB / 0.821 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.01763, allocations: 4 kB / 0.821 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.01829, allocations: 113.8 kB / 0.8211 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.01837, allocations: 37.12 kB / 0.8211 GB, free: 7.059 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.0002105/0.01858, allocations: 193.4 kB / 0.8213 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.01862, allocations: 23.89 kB / 0.8213 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.01867, allocations: 18.47 kB / 0.8214 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01867, allocations: 4.062 kB / 0.8214 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01868, allocations: 4.938 kB / 0.8214 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.01869, allocations: 3.938 kB / 0.8214 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.01937, allocations: 0.4977 MB / 0.8219 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01938, allocations: 1.062 kB / 0.8219 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.0194, allocations: 4 kB / 0.8219 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.0194, allocations: 1.031 kB / 0.8219 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01942, allocations: 11.98 kB / 0.8219 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.01942, allocations: 7.922 kB / 0.8219 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01942, allocations: 1.125 kB / 0.8219 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.01982, allocations: 341.8 kB / 0.8222 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.01984, allocations: 15.86 kB / 0.8222 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01987, allocations: 9.016 kB / 0.8222 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01994, allocations: 11.88 kB / 0.8222 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.02, allocations: 15.97 kB / 0.8223 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.02002, allocations: 15.34 kB / 0.8223 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001382/0.02015, allocations: 168.2 kB / 0.8224 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02015, allocations: 0 / 0.8224 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003829/0.02054, allocations: 87.92 kB / 0.8225 GB, free: 5.586 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.0001893/0.02073, allocations: 112.7 kB / 0.8226 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.02185, allocations: 0.8076 MB / 0.8234 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.02185, allocations: 5.438 kB / 0.8234 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.022, allocations: 85.81 kB / 0.8235 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.02263, allocations: 41 kB / 0.8235 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.02329, allocations: 335.2 kB / 0.8239 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.02342, allocations: 112.2 kB / 0.824 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.02349, allocations: 21.48 kB / 0.824 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.02354, allocations: 24.48 kB / 0.824 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.02354, allocations: 0 / 0.824 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.01072/0.03426, allocations: 5.085 MB / 0.829 GB, free: 14.95 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.369780312059447]