Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 116.3 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 192.7 kB / 20.03 MB, free: 2.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.161/3.161, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.05 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001933/1.008, allocations: 0.8387 MB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001907/1.01, allocations: 1.477 MB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/1.01, allocations: 1.469 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/1.011, allocations: 16.83 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/1.011, allocations: 30.92 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/1.012, allocations: 0.5197 MB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006524/1.013, allocations: 0.5008 MB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/1.013, allocations: 45.03 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/1.013, allocations: 176.9 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/1.013, allocations: 176.4 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/1.013, allocations: 40.22 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/1.014, allocations: 63.02 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/1.014, allocations: 46.55 kB / 1.266 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/1.014, allocations: 157.9 kB / 1.267 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/1.014, allocations: 411.2 kB / 1.267 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.014, allocations: 0 / 1.267 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.015, allocations: 0.7812 kB / 1.267 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.015, allocations: 0 / 1.267 GB, free: 5.527 MB / 0.9981 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.0007412/1.015, allocations: 0.6406 MB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.015, allocations: 9.266 kB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/1.015, allocations: 37.92 kB / 1.268 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/1.016, allocations: 268.1 kB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.016, allocations: 17.81 kB / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/1.016, allocations: 30.36 kB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/1.016, allocations: 151.8 kB / 1.268 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.016, allocations: 192 / 1.268 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/1.016, allocations: 6.672 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.016, allocations: 6.781 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/1.016, allocations: 81.61 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/1.017, allocations: 0.7148 MB / 1.269 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/1.017, allocations: 170.7 kB / 1.269 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/1.018, allocations: 45.72 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/1.018, allocations: 0.6875 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/1.018, allocations: 157.2 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/1.018, allocations: 0 / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004791/1.018, allocations: 248.7 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/1.018, allocations: 55.66 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/1.019, allocations: 183.1 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/1.019, allocations: 40.08 kB / 1.27 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/1.019, allocations: 135.9 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/1.019, allocations: 45.69 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.019, allocations: 115.2 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/1.019, allocations: 327.4 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.019, allocations: 156.1 kB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/1.02, allocations: 239.8 kB / 1.271 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/1.02, allocations: 407.2 kB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/1.02, allocations: 2.422 kB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001003/1.021, allocations: 0.6148 MB / 1.272 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/1.021, allocations: 168.5 kB / 1.272 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.021, allocations: 10.62 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.021, allocations: 4.594 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/1.021, allocations: 13.92 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.021, allocations: 4.844 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/1.022, allocations: 146 kB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/1.022, allocations: 32.97 kB / 1.272 GB, free: 1.891 MB / 0.9981 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.0001529/1.022, allocations: 159.2 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/1.022, allocations: 18.88 kB / 1.272 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/1.022, allocations: 26.33 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.022, allocations: 2.984 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.022, allocations: 1 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.022, allocations: 1.172 kB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/1.023, allocations: 0.5038 MB / 1.273 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.023, allocations: 0 / 1.273 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/1.023, allocations: 9 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.023, allocations: 1.312 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.023, allocations: 5.344 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.023, allocations: 1.688 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.023, allocations: 0 / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/1.023, allocations: 286.1 kB / 1.273 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/1.023, allocations: 93.36 kB / 1.273 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/1.023, allocations: 12.05 kB / 1.273 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/1.024, allocations: 5.359 kB / 1.273 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/1.024, allocations: 19.81 kB / 1.273 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/1.024, allocations: 11.94 kB / 1.273 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.662e-05/1.024, allocations: 122 kB / 1.273 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.024, allocations: 0 / 1.273 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000415/1.024, allocations: 78.2 kB / 1.273 GB, free: 0.9219 MB / 0.9981 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.0001635/1.024, allocations: 122.2 kB / 1.273 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007129/1.025, allocations: 0.6175 MB / 1.274 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.025, allocations: 0.875 kB / 1.274 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/1.025, allocations: 84.33 kB / 1.274 GB, free: 356 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/1.026, allocations: 64.89 kB / 1.274 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/1.026, allocations: 362.3 kB / 1.275 GB, free: 68 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/1.027, allocations: 0.7273 MB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/1.027, allocations: 27.61 kB / 1.275 GB, free: 15.35 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.027, allocations: 0 / 1.275 GB, free: 15.35 MB / 1.014 GB Notification: Performance of Templates: time 0.007115/1.034, allocations: 3.325 MB / 1.279 GB, free: 15.02 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 12.546113912947476]