Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001652/0.001652, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0029/0.0029, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.725/2.725, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_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.002316/0.002316, allocations: 68 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3497, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002472/0.3522, allocations: 0.8507 MB / 1.284 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3545, allocations: 1.519 MB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.3546, allocations: 4 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3548, allocations: 19.8 kB / 1.286 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.3548, allocations: 39.66 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3563, allocations: 0.506 MB / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.3573, allocations: 479.2 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.3574, allocations: 33.66 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.3577, allocations: 187.7 kB / 1.287 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.3581, allocations: 175.5 kB / 1.287 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.3583, allocations: 43.98 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3585, allocations: 55.94 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.3585, allocations: 35.92 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.3588, allocations: 163.5 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.3594, allocations: 423 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3594, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3594, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.3594, allocations: 0 / 1.288 GB, free: 15.31 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.0009815/0.3604, allocations: 0.5761 MB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3604, allocations: 8.031 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.3605, allocations: 42.73 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3606, allocations: 36.78 kB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.361, allocations: 207.5 kB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3611, allocations: 20.36 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.3612, allocations: 28.38 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3615, allocations: 156.8 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3615, allocations: 11.88 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3615, allocations: 0 / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3616, allocations: 4 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.3617, allocations: 87.8 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.363, allocations: 0.6751 MB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3631, allocations: 82.48 kB / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.3632, allocations: 40.84 kB / 1.29 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3632, allocations: 0 / 1.29 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.3635, allocations: 165.2 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.3635, allocations: 0 / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0005436/0.3641, allocations: 247.3 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.3641, allocations: 59.39 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3643, allocations: 186.7 kB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.3644, allocations: 41.7 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3645, allocations: 124.6 kB / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3646, allocations: 43.73 kB / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.3648, allocations: 117.6 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.365, allocations: 326.8 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.3653, allocations: 155.9 kB / 1.291 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.3657, allocations: 239.9 kB / 1.291 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.3663, allocations: 406.1 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3663, allocations: 4 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001207/0.3675, allocations: 0.6304 MB / 1.292 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.3676, allocations: 178.6 kB / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3676, allocations: 0 / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3677, allocations: 4 kB / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.3677, allocations: 8 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3677, allocations: 11.98 kB / 1.293 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.3685, allocations: 144 kB / 1.293 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.3685, allocations: 31.97 kB / 1.293 GB, free: 9.887 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.0001917/0.3687, allocations: 161.5 kB / 1.293 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3687, allocations: 23.84 kB / 1.293 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.3688, allocations: 17.8 kB / 1.293 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3688, allocations: 7.938 kB / 1.293 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3688, allocations: 0 / 1.293 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3688, allocations: 0 / 1.293 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.3695, allocations: 489.3 kB / 1.293 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3695, allocations: 4.094 kB / 1.293 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.3695, allocations: 15.86 kB / 1.293 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3695, allocations: 0 / 1.293 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3695, allocations: 4 kB / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3695, allocations: 0 / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3695, allocations: 0 / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.3698, allocations: 285.5 kB / 1.294 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.3699, allocations: 15.91 kB / 1.294 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3699, allocations: 4 kB / 1.294 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.37, allocations: 11.92 kB / 1.294 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.37, allocations: 23.97 kB / 1.294 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.37, allocations: 8 kB / 1.294 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.3701, allocations: 119.2 kB / 1.294 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3701, allocations: 0 / 1.294 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003901/0.3705, allocations: 83.88 kB / 1.294 GB, free: 8.562 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.0007939/0.3713, allocations: 0.8222 MB / 1.295 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.3721, allocations: 0.5535 MB / 1.295 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3721, allocations: 0 / 1.295 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3723, allocations: 56.61 kB / 1.295 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3727, allocations: 51.95 kB / 1.295 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.377, allocations: 3.015 MB / 1.298 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3774, allocations: 0.732 MB / 1.299 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.3775, allocations: 25.47 kB / 1.299 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.3776, allocations: 59.34 kB / 1.299 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3776, allocations: 0 / 1.299 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.4199, allocations: 6.591 MB / 1.306 GB, free: 12.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 8.125 kB / 1.306 GB, free: 12.55 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.30623549898155]