Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001025/0.001025, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009906/0.0009906, allocations: 173 kB / 23.49 MB, free: 1.055 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.276/2.276, allocations: 429.5 MB / 0.6736 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.843e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001461/0.001489, allocations: 0.6676 MB / 0.8789 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.002751, allocations: 1.232 MB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.002795, allocations: 4.688 kB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.002819, allocations: 0 / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/0.002896, allocations: 16.47 kB / 0.8801 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.003411, allocations: 217.7 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.003603, allocations: 167.7 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.003698, allocations: 8.656 kB / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.003816, allocations: 99.84 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.003916, allocations: 44.64 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.003945, allocations: 16 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.004012, allocations: 31.83 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.004035, allocations: 11.92 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.004099, allocations: 51.95 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004279, allocations: 131.6 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004283, allocations: 0 / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004284, allocations: 0 / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.00429, allocations: 0 / 0.8808 GB, free: 3.945 MB / 0.8386 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.0004391/0.004729, allocations: 471.8 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.004767, allocations: 8.031 kB / 0.8813 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.004831, allocations: 12.89 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.166e-05/0.004913, allocations: 114.1 kB / 0.8814 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.004933, allocations: 12.31 kB / 0.8814 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.004956, allocations: 12.38 kB / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.407e-05/0.00504, allocations: 42.23 kB / 0.8815 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.005045, allocations: 5.188 kB / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.005054, allocations: 384 / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005061, allocations: 4.359 kB / 0.8815 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.005086, allocations: 9.062 kB / 0.8815 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.005468, allocations: 339.6 kB / 0.8818 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.005543, allocations: 40.11 kB / 0.8818 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.005568, allocations: 15.69 kB / 0.8819 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.005575, allocations: 0 / 0.8819 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.005684, allocations: 82.09 kB / 0.8819 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.005685, allocations: 0 / 0.8819 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000209/0.005894, allocations: 102.4 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.006092, allocations: 51.41 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.006186, allocations: 174.2 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.006209, allocations: 32.48 kB / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.006269, allocations: 146.8 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.006283, allocations: 11.95 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.006351, allocations: 55.34 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.00647, allocations: 0.4884 MB / 0.883 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.006586, allocations: 107.4 kB / 0.8831 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.006711, allocations: 165.7 kB / 0.8832 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.006845, allocations: 167.6 kB / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006847, allocations: 4.562 kB / 0.8834 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003159/0.007163, allocations: 325.8 kB / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.007211, allocations: 67.39 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007217, allocations: 0 / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.007232, allocations: 0.5 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.978e-05/0.007252, allocations: 4 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.007258, allocations: 1.781 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.007454, allocations: 39.92 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.007475, allocations: 16.7 kB / 0.8838 GB, free: 0.5508 MB / 0.8386 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 8.503e-05/0.00756, allocations: 169.3 kB / 0.884 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.007575, allocations: 15.92 kB / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.007601, allocations: 10.03 kB / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007604, allocations: 0 / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.007609, allocations: 0 / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.007613, allocations: 0 / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.126e-05/0.007704, allocations: 136.6 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007706, allocations: 4.125 kB / 0.8841 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.007713, allocations: 3.984 kB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007715, allocations: 0 / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.007722, allocations: 3.938 kB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007723, allocations: 4 kB / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007724, allocations: 0 / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007847, allocations: 116.4 kB / 0.8843 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.007856, allocations: 7.953 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.007868, allocations: 4 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.007886, allocations: 4 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.007926, allocations: 11.98 kB / 0.8843 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.007932, allocations: 4 kB / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.007984, allocations: 131.2 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007984, allocations: 0 / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001682/0.008152, allocations: 32 kB / 0.8844 GB, free: 15.84 MB / 0.8542 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.0001433/0.008296, allocations: 99.23 kB / 0.8845 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.008567, allocations: 277.8 kB / 0.8848 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008569, allocations: 0 / 0.8848 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.008608, allocations: 35.59 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008806, allocations: 24.72 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.00912, allocations: 150.8 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.009155, allocations: 59.36 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.00918, allocations: 11.84 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.009202, allocations: 12.5 kB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.009203, allocations: 0 / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.003784/0.01299, allocations: 2.064 MB / 0.8871 GB, free: 13.07 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.857633656123653]