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.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.001762/0.001762, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002468/0.002468, allocations: 190.5 kB / 22.23 MB, free: 5.102 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 496 MB / 0.7835 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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 0.002001/0.002001, allocations: 65.73 kB / 1.138 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002212/0.3753, allocations: 0.851 MB / 1.308 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3775, allocations: 1.494 MB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3776, allocations: 0 / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3777, allocations: 15.8 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.3778, allocations: 35.72 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.3792, allocations: 0.5156 MB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.3799, allocations: 483.2 kB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.38, allocations: 33.59 kB / 1.311 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3802, allocations: 183.8 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3805, allocations: 179.5 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.3806, allocations: 40 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3807, allocations: 59.92 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.3808, allocations: 39.86 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.381, allocations: 167.5 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.3815, allocations: 410.8 kB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3815, allocations: 0 / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3815, allocations: 0 / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3815, allocations: 0 / 1.312 GB, free: 13.31 MB / 1.014 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.0008152/0.3823, allocations: 0.5722 MB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3823, allocations: 8.922 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3824, allocations: 36.83 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3828, allocations: 202.2 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3828, allocations: 20.36 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.3829, allocations: 28.38 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3832, allocations: 156.9 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3832, allocations: 192 / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3832, allocations: 11.94 kB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3832, allocations: 0 / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3834, allocations: 87.88 kB / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.3843, allocations: 0.6749 MB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3845, allocations: 90.48 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.3846, allocations: 40.84 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3846, allocations: 0 / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.3848, allocations: 159.2 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.3848, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0004803/0.3853, allocations: 247.5 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3853, allocations: 59.34 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3855, allocations: 182.1 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.3856, allocations: 37.7 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3857, allocations: 132.7 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.3857, allocations: 47.64 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.3859, allocations: 117.6 kB / 1.314 GB, free: 10.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3861, allocations: 322.8 kB / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3864, allocations: 155.9 kB / 1.315 GB, free: 9.746 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.3868, allocations: 248.6 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.3873, allocations: 406.3 kB / 1.316 GB, free: 9.008 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3873, allocations: 0 / 1.316 GB, free: 9.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001068/0.3884, allocations: 0.6344 MB / 1.316 GB, free: 8.336 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.3885, allocations: 165.7 kB / 1.316 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3885, allocations: 7.938 kB / 1.316 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3886, allocations: 4 kB / 1.316 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.3886, allocations: 11.94 kB / 1.316 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.3886, allocations: 4 kB / 1.316 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.3894, allocations: 140 kB / 1.316 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.3894, allocations: 35.97 kB / 1.317 GB, free: 7.945 MB / 1.014 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.0001852/0.3896, allocations: 161.5 kB / 1.317 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3896, allocations: 15.91 kB / 1.317 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.3897, allocations: 25.73 kB / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3897, allocations: 7.984 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3897, allocations: 3.938 kB / 1.317 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3897, allocations: 0 / 1.317 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.3903, allocations: 494.3 kB / 1.317 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3903, allocations: 0 / 1.317 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.3903, allocations: 11.92 kB / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3903, allocations: 0 / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3904, allocations: 8 kB / 1.317 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3904, allocations: 0 / 1.317 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3904, allocations: 0 / 1.317 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3907, allocations: 285 kB / 1.317 GB, free: 6.879 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3907, allocations: 15.86 kB / 1.318 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3907, allocations: 8 kB / 1.318 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.3908, allocations: 7.984 kB / 1.318 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3909, allocations: 19.97 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3909, allocations: 15.94 kB / 1.318 GB, free: 6.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.998e-05/0.391, allocations: 120.2 kB / 1.318 GB, free: 6.695 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.391, allocations: 0 / 1.318 GB, free: 6.695 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000372/0.3914, allocations: 83.92 kB / 1.318 GB, free: 6.613 MB / 1.014 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.0001767/0.3915, allocations: 113.2 kB / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008067/0.3923, allocations: 0.5569 MB / 1.318 GB, free: 5.879 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3923, allocations: 0 / 1.318 GB, free: 5.879 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3925, allocations: 63.91 kB / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3929, allocations: 54.81 kB / 1.319 GB, free: 5.766 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.3935, allocations: 324.3 kB / 1.319 GB, free: 5.426 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3939, allocations: 0.7281 MB / 1.32 GB, free: 4.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.297e-05/0.3939, allocations: 25.47 kB / 1.32 GB, free: 4.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.394, allocations: 19.44 kB / 1.32 GB, free: 4.625 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.394, allocations: 0 / 1.32 GB, free: 4.625 MB / 1.014 GB Notification: Performance of Templates: time 0.009194/0.4032, allocations: 4.65 MB / 1.324 GB, free: 32 kB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] 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: 9.428119974210858]