Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001503/0.001503, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00169/0.00169, allocations: 169 kB / 24.28 MB, free: 272 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.9996/0.9996, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.916/1.916, allocations: 377.8 MB / 0.6239 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.286e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.004728/0.004761, allocations: 0.6719 MB / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.006152, allocations: 1.233 MB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.006199, allocations: 0 / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.006227, allocations: 5.625 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.006304, allocations: 15.92 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.009903, allocations: 209 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.01014, allocations: 167.7 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.01024, allocations: 9.734 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.01038, allocations: 95.86 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.0105, allocations: 55.84 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.01053, allocations: 16 kB / 0.814 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.0106, allocations: 27.88 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.01063, allocations: 17.16 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.0107, allocations: 43.97 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.01091, allocations: 131.7 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01091, allocations: 1.75 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01091, allocations: 0 / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.01092, allocations: 0 / 0.8142 GB, free: 15.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004773/0.01139, allocations: 475.8 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.01143, allocations: 10.62 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.0115, allocations: 12.89 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.01159, allocations: 116.6 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.01161, allocations: 4.375 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.01164, allocations: 12.38 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.01173, allocations: 42.25 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.01174, allocations: 192 / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.01175, allocations: 1.094 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.01176, allocations: 4.359 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.0118, allocations: 24.34 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.01223, allocations: 321.4 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.0123, allocations: 39.05 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.01233, allocations: 15.67 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.01233, allocations: 0 / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.01246, allocations: 89.64 kB / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.01246, allocations: 0 / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002234/0.01268, allocations: 102.6 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.01272, allocations: 55.41 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.01586, allocations: 175 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01589, allocations: 33.7 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.01596, allocations: 146.8 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.01598, allocations: 13.27 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.01607, allocations: 55.34 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.0162, allocations: 0.4884 MB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.01634, allocations: 111.4 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.01649, allocations: 158.9 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.01664, allocations: 158.6 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01665, allocations: 0.5312 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000415/0.01706, allocations: 327 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.01712, allocations: 70.05 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01712, allocations: 0 / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01714, allocations: 4 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.01716, allocations: 3.938 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01717, allocations: 4 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.01739, allocations: 39.06 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.01741, allocations: 12.05 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.825e-05/0.01751, allocations: 168.5 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.01753, allocations: 19.88 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.01756, allocations: 12.44 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01757, allocations: 1.781 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01757, allocations: 0 / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01758, allocations: 0 / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.01768, allocations: 128.6 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01769, allocations: 0 / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.0177, allocations: 8.453 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.0177, allocations: 4.5 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01771, allocations: 7.938 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01771, allocations: 1.344 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01771, allocations: 0 / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01785, allocations: 116.4 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.01786, allocations: 8.672 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.01788, allocations: 7.938 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.0179, allocations: 0.6562 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.01794, allocations: 7.984 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01794, allocations: 3.688 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.01799, allocations: 135.2 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01799, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002365/0.01823, allocations: 31.94 kB / 0.8178 GB, free: 11.29 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001484/0.01837, allocations: 103.2 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.0217, allocations: 277.8 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0217, allocations: 0 / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.02174, allocations: 29.55 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.02198, allocations: 12.73 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.02233, allocations: 163.9 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.02236, allocations: 63.16 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.02239, allocations: 9.047 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.02242, allocations: 12.5 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.02242, allocations: 1.094 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.007432/0.02986, allocations: 2.068 MB / 0.8205 GB, free: 8.535 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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.381012698169798]