Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_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.006729/0.006729, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001405/0.001406, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 71.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9682/0.9697, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003009/0.9728, allocations: 0.6601 MB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.9749, allocations: 1.193 MB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.9751, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.9751, allocations: 3.938 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.9753, allocations: 15.92 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.9762, allocations: 213 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.9766, allocations: 191.6 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.9767, allocations: 8 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.9769, allocations: 67.94 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.977, allocations: 63.78 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.9771, allocations: 16 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.9772, allocations: 31.98 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.9772, allocations: 7.984 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.9773, allocations: 55.83 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.9776, allocations: 154.3 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9776, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9776, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.9777, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 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.0006551/0.9783, allocations: 443.6 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9784, allocations: 8.625 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.9784, allocations: 34.75 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.9785, allocations: 12.83 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.9787, allocations: 172.3 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.9787, allocations: 12.36 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.9787, allocations: 12.38 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.9789, allocations: 46.25 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9789, allocations: 3.938 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.9789, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.9789, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.979, allocations: 15.98 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.9796, allocations: 360.6 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.9797, allocations: 30.58 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.9797, allocations: 20.94 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.9797, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.98, allocations: 83.3 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.98, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002521/0.9802, allocations: 97.62 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.9803, allocations: 59.41 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.9804, allocations: 117.8 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.9805, allocations: 33.7 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.9805, allocations: 92.09 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.9806, allocations: 15.89 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.9807, allocations: 49.69 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.9808, allocations: 322.8 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.981, allocations: 63.91 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.9811, allocations: 93 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.9813, allocations: 164 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9813, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004252/0.9818, allocations: 260.9 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.9818, allocations: 67.39 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9819, allocations: 4 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9819, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.9819, allocations: 11.92 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.9819, allocations: 4.25 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.9823, allocations: 63.95 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.9823, allocations: 11.98 kB / 1.171 GB, free: 14.1 MB / 0.9044 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.0001129/0.9824, allocations: 125.8 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.9825, allocations: 3.953 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.9825, allocations: 12.38 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9825, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9825, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9825, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.9827, allocations: 181.6 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9827, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.9827, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9827, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.9827, allocations: 4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.9827, allocations: 3.984 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9828, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.9829, allocations: 120.9 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.983, allocations: 85.09 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.983, allocations: 7.984 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.983, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.9831, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.9831, allocations: 3.984 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.9831, allocations: 91.22 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9832, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002423/0.9834, allocations: 35.94 kB / 1.172 GB, free: 13.33 MB / 0.9044 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.0004901/0.9839, allocations: 0.6592 MB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.9843, allocations: 246.7 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9843, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.9843, allocations: 27.98 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.9846, allocations: 21.78 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.9866, allocations: 1.701 MB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.9869, allocations: 0.6923 MB / 1.175 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.987, allocations: 7.984 kB / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.987, allocations: 15.44 kB / 1.175 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.987, allocations: 0 / 1.175 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/1.006, allocations: 2.894 MB / 1.178 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.707, allocations: 4.953 kB / 1.178 GB, free: 6.977 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches