Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008223/0.008223, allocations: 100.2 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 193.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.89 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3576, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002194/0.3599, allocations: 0.6542 MB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3617, allocations: 1.19 MB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.3618, allocations: 0 / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.3619, allocations: 3.938 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.362, allocations: 7.922 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.3629, allocations: 226.5 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.3632, allocations: 179.7 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3633, allocations: 15.92 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3634, allocations: 67.89 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3636, allocations: 59.84 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.3636, allocations: 16 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3637, allocations: 35.98 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3637, allocations: 3.984 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.3638, allocations: 59.83 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3641, allocations: 151.9 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3641, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3641, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3641, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006137/0.3647, allocations: 438.6 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3648, allocations: 12.61 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.3648, allocations: 34.75 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.3649, allocations: 16.94 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.365, allocations: 176.2 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3651, allocations: 4.375 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3651, allocations: 16.3 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3653, allocations: 46.25 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3653, allocations: 3.938 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3653, allocations: 4 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3653, allocations: 0 / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.3654, allocations: 15.98 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3659, allocations: 360.6 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.366, allocations: 30.58 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.366, allocations: 16.94 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.366, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.3663, allocations: 87.22 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.514e-06/0.3663, allocations: 7.984 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002762/0.3666, allocations: 97.66 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3667, allocations: 55.41 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.3668, allocations: 121.7 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3668, allocations: 33.7 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.3669, allocations: 84.14 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3669, allocations: 15.81 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.367, allocations: 45.69 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3672, allocations: 330.8 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3673, allocations: 55.97 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3675, allocations: 96.19 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3677, allocations: 156.1 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3677, allocations: 0 / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004175/0.3681, allocations: 268.8 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.3682, allocations: 67.39 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3682, allocations: 0 / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3682, allocations: 4 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.015e-05/0.3682, allocations: 0 / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3682, allocations: 7.984 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3686, allocations: 59.91 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.3686, allocations: 12 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001032/0.3687, allocations: 129.7 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3688, allocations: 7.906 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.3688, allocations: 8.375 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3688, allocations: 8 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3688, allocations: 0 / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3688, allocations: 0 / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.369, allocations: 181.6 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.369, allocations: 4.062 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.369, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.369, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.369, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.369, allocations: 4 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.369, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.3692, allocations: 113.5 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.3692, allocations: 85.02 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3693, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.3693, allocations: 7.984 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3693, allocations: 4 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3693, allocations: 4 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.3694, allocations: 91.27 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002338/0.3696, allocations: 32.28 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005457/0.3702, allocations: 0.6594 MB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.3705, allocations: 246.8 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3706, allocations: 0 / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.3706, allocations: 24.25 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3709, allocations: 25.3 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3728, allocations: 1.718 MB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3731, allocations: 0.6846 MB / 1.216 GB, free: 84 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.3731, allocations: 7.984 kB / 1.216 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.3731, allocations: 19.44 kB / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3732, allocations: 0 / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.392, allocations: 2.954 MB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.993, allocations: 8.469 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches