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.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.0015/0.0015, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001718/0.001718, allocations: 217.7 kB / 22.24 MB, free: 4.855 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 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.471/3.471, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 62.56 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3674, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002167/0.3696, allocations: 0.8117 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3716, allocations: 1.495 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.3717, allocations: 7.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.3719, allocations: 19.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.3719, allocations: 31.72 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3732, allocations: 0.5188 MB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.3737, allocations: 475.2 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3739, allocations: 37.66 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3741, allocations: 183.7 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3743, allocations: 151.5 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.3744, allocations: 40 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3745, allocations: 59.98 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.3746, allocations: 39.86 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.3748, allocations: 147.6 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.3752, allocations: 419 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3752, allocations: 4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3752, allocations: 0 / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3752, allocations: 0 / 1.368 GB, free: 9.703 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.0008799/0.3761, allocations: 0.5838 MB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3762, allocations: 8.031 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.3762, allocations: 42.73 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.3763, allocations: 28.84 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3766, allocations: 202.7 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.3767, allocations: 20.36 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.3767, allocations: 32.38 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.377, allocations: 150 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.377, allocations: 3.938 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.377, allocations: 4 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.377, allocations: 8 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3772, allocations: 87.88 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.3781, allocations: 0.5894 MB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3783, allocations: 94.47 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.3783, allocations: 32.84 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3783, allocations: 4 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.3786, allocations: 172.8 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.3786, allocations: 3.938 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0004803/0.3791, allocations: 247.5 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3792, allocations: 59.34 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3793, allocations: 186.1 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.3794, allocations: 41.7 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3795, allocations: 120.7 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.3796, allocations: 47.69 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3798, allocations: 113.6 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3799, allocations: 326.8 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.3804, allocations: 312.4 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.3809, allocations: 390.6 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3814, allocations: 415.4 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3814, allocations: 0 / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001124/0.3825, allocations: 0.7754 MB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3826, allocations: 172.4 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3826, allocations: 0 / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3826, allocations: 4 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.3827, allocations: 16.28 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3827, allocations: 4 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/0.3835, allocations: 139.7 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.3836, allocations: 31.98 kB / 1.373 GB, free: 3.816 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.0002014/0.3838, allocations: 157.7 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3838, allocations: 23.83 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.3839, allocations: 17.81 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3839, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3839, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3839, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.3845, allocations: 477.4 kB / 1.374 GB, free: 3.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3845, allocations: 4 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.3845, allocations: 4 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3845, allocations: 0 / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3845, allocations: 7.984 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3845, allocations: 0 / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3845, allocations: 3.938 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3849, allocations: 286.3 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.3849, allocations: 23.94 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3849, allocations: 7.938 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.385, allocations: 4 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.385, allocations: 23.97 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3851, allocations: 11.98 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.766e-05/0.3852, allocations: 124.2 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3852, allocations: 0 / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004118/0.3856, allocations: 75.94 kB / 1.374 GB, free: 2.512 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.0007225/0.3863, allocations: 0.8221 MB / 1.375 GB, free: 1.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.3872, allocations: 0.7048 MB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3872, allocations: 0 / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3873, allocations: 66.31 kB / 1.376 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3878, allocations: 47.94 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.3922, allocations: 3.633 MB / 1.379 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3924, allocations: 112.1 kB / 1.379 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.36e-05/0.3925, allocations: 25.48 kB / 1.379 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.3926, allocations: 55.41 kB / 1.379 GB, free: 12.61 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/0.3926, allocations: 4 kB / 1.379 GB, free: 12.61 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.4277, allocations: 7.536 MB / 1.387 GB, free: 5.301 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 7.688 kB / 1.387 GB, free: 5.297 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 840.0] 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/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: 19.105565942823887]