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.001673/0.001673, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001919/0.001919, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.309 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.073/3.073, allocations: 496.1 MB / 0.7819 GB, free: 12.3 MB / 0.6231 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.001949/0.001949, allocations: 71.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 173.6 MB / 1.305 GB, free: 33.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001868/1.164, allocations: 0.8336 MB / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00154/1.165, allocations: 1.486 MB / 1.308 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/1.165, allocations: 3.062 kB / 1.308 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/1.165, allocations: 22.41 kB / 1.308 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/1.165, allocations: 36.73 kB / 1.308 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.166, allocations: 0.5204 MB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/1.167, allocations: 478.5 kB / 1.309 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/1.167, allocations: 32.59 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/1.167, allocations: 186.4 kB / 1.309 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/1.167, allocations: 170.7 kB / 1.309 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/1.167, allocations: 39.75 kB / 1.309 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/1.167, allocations: 57.16 kB / 1.309 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/1.167, allocations: 47.06 kB / 1.309 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/1.168, allocations: 155.1 kB / 1.309 GB, free: 31.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/1.168, allocations: 413.6 kB / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.168, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.168, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.168, allocations: 4 kB / 1.31 GB, free: 31.16 MB / 1.061 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.0006005/1.169, allocations: 0.647 MB / 1.31 GB, free: 30.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/1.169, allocations: 12.03 kB / 1.31 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/1.169, allocations: 29.06 kB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.169, allocations: 267.7 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/1.169, allocations: 24.02 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/1.169, allocations: 37.02 kB / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/1.169, allocations: 147.8 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.169, allocations: 4.188 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.169, allocations: 10.91 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.169, allocations: 2.906 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/1.169, allocations: 80.44 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/1.17, allocations: 0.7021 MB / 1.312 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/1.17, allocations: 169.6 kB / 1.312 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/1.17, allocations: 40.88 kB / 1.312 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.17, allocations: 0 / 1.312 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/1.171, allocations: 156.3 kB / 1.312 GB, free: 29.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/1.171, allocations: 0 / 1.312 GB, free: 29.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0003997/1.171, allocations: 247.9 kB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.171, allocations: 57.84 kB / 1.312 GB, free: 29.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/1.171, allocations: 195.7 kB / 1.313 GB, free: 29.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/1.171, allocations: 41.48 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/1.171, allocations: 129.2 kB / 1.313 GB, free: 29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.171, allocations: 46.2 kB / 1.313 GB, free: 28.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.171, allocations: 117.2 kB / 1.313 GB, free: 28.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/1.171, allocations: 327.1 kB / 1.313 GB, free: 28.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/1.172, allocations: 160.8 kB / 1.313 GB, free: 28.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/1.172, allocations: 238.6 kB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/1.172, allocations: 409.8 kB / 1.314 GB, free: 28.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.172, allocations: 0 / 1.314 GB, free: 28.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007795/1.173, allocations: 0.6266 MB / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/1.173, allocations: 165.9 kB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.173, allocations: 10.59 kB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.173, allocations: 5.281 kB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/1.173, allocations: 4.875 kB / 1.315 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.173, allocations: 11.66 kB / 1.315 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/1.174, allocations: 138.7 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/1.174, allocations: 35.58 kB / 1.315 GB, free: 27.51 MB / 1.061 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.0001164/1.174, allocations: 156.5 kB / 1.315 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/1.174, allocations: 15.5 kB / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/1.174, allocations: 23.56 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.174, allocations: 6.469 kB / 1.315 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.174, allocations: 6.406 kB / 1.315 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.174, allocations: 0 / 1.315 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/1.175, allocations: 0.5076 MB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.175, allocations: 3.938 kB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/1.175, allocations: 9.641 kB / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.175, allocations: 0 / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.175, allocations: 6.719 kB / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.175, allocations: 2.781 kB / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.175, allocations: 0 / 1.316 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/1.175, allocations: 290.3 kB / 1.316 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/1.175, allocations: 91.7 kB / 1.316 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/1.175, allocations: 2.75 kB / 1.316 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/1.175, allocations: 11.08 kB / 1.316 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/1.175, allocations: 18.64 kB / 1.316 GB, free: 26.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/1.175, allocations: 12.34 kB / 1.316 GB, free: 26.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.468e-05/1.175, allocations: 119.3 kB / 1.316 GB, free: 26.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 4 kB / 1.316 GB, free: 26.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003426/1.175, allocations: 79.89 kB / 1.316 GB, free: 26.53 MB / 1.061 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.0001474/1.176, allocations: 111.3 kB / 1.316 GB, free: 26.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005456/1.176, allocations: 0.5535 MB / 1.317 GB, free: 26.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.176, allocations: 0 / 1.317 GB, free: 26.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/1.176, allocations: 65.89 kB / 1.317 GB, free: 26.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/1.177, allocations: 44.5 kB / 1.317 GB, free: 26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/1.177, allocations: 342.7 kB / 1.317 GB, free: 25.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/1.177, allocations: 0.7261 MB / 1.318 GB, free: 25.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.737e-05/1.177, allocations: 23.89 kB / 1.318 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/1.177, allocations: 21.91 kB / 1.318 GB, free: 25.07 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.177, allocations: 0 / 1.318 GB, free: 25.07 MB / 1.061 GB Notification: Performance of Templates: time 0.007351/1.185, allocations: 4.605 MB / 1.323 GB, free: 24.7 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.90973281301558]