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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002234/0.002234, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] 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 3.399/3.399, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.436e-06/3.436e-06, allocations: 0 / 0.8775 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.718e-05, allocations: 7.156 kB / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003041/0.003079, allocations: 0.6547 MB / 0.8781 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.00604, allocations: 1.21 MB / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.00611, allocations: 0 / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.006142, allocations: 3.938 kB / 0.8793 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.00628, allocations: 27.77 kB / 0.8793 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.007238, allocations: 204.5 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.007655, allocations: 172.8 kB / 0.8797 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.00776, allocations: 11.97 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.008017, allocations: 92.97 kB / 0.8798 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.008242, allocations: 55.91 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.008313, allocations: 12 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.008431, allocations: 29.02 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.008466, allocations: 11.92 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.008593, allocations: 47.95 kB / 0.8799 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.009009, allocations: 184.2 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.009014, allocations: 0 / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/0.009016, allocations: 1.531 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.009024, allocations: 0 / 0.8801 GB, free: 3.832 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.001056/0.01008, allocations: 471.5 kB / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.01013, allocations: 8.031 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01026, allocations: 13.47 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01047, allocations: 118 kB / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.0105, allocations: 4.375 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.01056, allocations: 16.36 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.01074, allocations: 46.19 kB / 0.8807 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.01076, allocations: 4.781 kB / 0.8807 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01077, allocations: 1.125 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.01078, allocations: 384 / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.01086, allocations: 19.92 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.01176, allocations: 333.1 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.01193, allocations: 39 kB / 0.8811 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.01202, allocations: 23.77 kB / 0.8811 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.01204, allocations: 7.422 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.01232, allocations: 88.97 kB / 0.8812 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.01232, allocations: 3.938 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005115/0.01284, allocations: 109.6 kB / 0.8813 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.01292, allocations: 51.41 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.01316, allocations: 189.8 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.01322, allocations: 29.7 kB / 0.8816 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01337, allocations: 142.9 kB / 0.8817 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.01341, allocations: 20.92 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.01358, allocations: 55.34 kB / 0.8818 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003816/0.01397, allocations: 0.4884 MB / 0.8823 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.01429, allocations: 144.5 kB / 0.8824 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.0147, allocations: 184.9 kB / 0.8826 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.01512, allocations: 185.7 kB / 0.8828 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01512, allocations: 4 kB / 0.8828 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008497/0.01597, allocations: 356.2 kB / 0.8831 GB, free: 428 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.01605, allocations: 67.39 kB / 0.8832 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.01606, allocations: 4 kB / 0.8832 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01607, allocations: 0 / 0.8832 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.739e-05/0.0161, allocations: 8.109 kB / 0.8832 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01611, allocations: 4 kB / 0.8832 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.01642, allocations: 47.98 kB / 0.8833 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.01646, allocations: 11.98 kB / 0.8833 GB, free: 272 kB / 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 0.0004058/0.01686, allocations: 171.5 kB / 0.8834 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.01688, allocations: 7.938 kB / 0.8834 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.01692, allocations: 16.42 kB / 0.8835 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01692, allocations: 0 / 0.8835 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01692, allocations: 4 kB / 0.8835 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.01693, allocations: 0 / 0.8835 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.0171, allocations: 136.6 kB / 0.8836 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.0171, allocations: 0 / 0.8836 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.01712, allocations: 4 kB / 0.8836 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01712, allocations: 0 / 0.8836 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01714, allocations: 11.92 kB / 0.8836 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01714, allocations: 0 / 0.8836 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01714, allocations: 0 / 0.8836 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.01734, allocations: 124.4 kB / 0.8837 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.01735, allocations: 3.953 kB / 0.8837 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01737, allocations: 11.88 kB / 0.8837 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.664e-05/0.01739, allocations: 8 kB / 0.8837 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.01744, allocations: 3.984 kB / 0.8837 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01745, allocations: 4 kB / 0.8837 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.517e-05/0.01754, allocations: 135.2 kB / 0.8839 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01754, allocations: 0 / 0.8839 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002573/0.0178, allocations: 35.94 kB / 0.8839 GB, free: 15.54 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.0001824/0.01798, allocations: 95.25 kB / 0.884 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.01847, allocations: 337.9 kB / 0.8843 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01847, allocations: 0 / 0.8843 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.01854, allocations: 35.61 kB / 0.8844 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.0188, allocations: 20.47 kB / 0.8844 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.0192, allocations: 170.7 kB / 0.8845 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.673e-05/0.01928, allocations: 71.33 kB / 0.8846 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.01931, allocations: 11.98 kB / 0.8846 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.01934, allocations: 12.5 kB / 0.8846 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of SimCode: time 6.62e-07/0.01934, allocations: 0 / 0.8846 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.005825/0.02517, allocations: 2.051 MB / 0.8866 GB, free: 12.69 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.683842753991485]