Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001646/0.001646, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6651, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001933/0.6671, allocations: 0.6467 MB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.6684, allocations: 1.189 MB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.6685, allocations: 0 / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.6685, allocations: 5.562 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.6686, allocations: 11.91 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.6692, allocations: 216.4 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.6695, allocations: 177.6 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.6696, allocations: 9.219 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.6697, allocations: 76.53 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.6698, allocations: 47.81 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.6699, allocations: 15.5 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.67, allocations: 29.36 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.67, allocations: 11.67 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.6701, allocations: 54.17 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.6704, allocations: 156.5 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6704, allocations: 0 / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6704, allocations: 0 / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.6704, allocations: 1.312 kB / 0.9523 GB, free: 7.141 MB / 0.7169 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.0005862/0.671, allocations: 432.5 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.6711, allocations: 9.5 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.6711, allocations: 31.91 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.6712, allocations: 12.23 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.6713, allocations: 174.4 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.6713, allocations: 13.28 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.6713, allocations: 9.094 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6715, allocations: 47.89 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6715, allocations: 3.938 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6715, allocations: 0.9375 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6715, allocations: 7.875 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.6716, allocations: 15.72 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.6721, allocations: 355 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.323e-05/0.6722, allocations: 36.34 kB / 0.9534 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.6722, allocations: 10.95 kB / 0.9534 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.6722, allocations: 1.406 kB / 0.9534 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.6724, allocations: 95.3 kB / 0.9535 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6724, allocations: 0 / 0.9535 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002548/0.6727, allocations: 100.6 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.6727, allocations: 60.97 kB / 0.9537 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.6728, allocations: 118.7 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.6728, allocations: 29.64 kB / 0.9538 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.6729, allocations: 92.5 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.6729, allocations: 18.67 kB / 0.9539 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.673, allocations: 48.12 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.6731, allocations: 321.2 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6732, allocations: 62.28 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.6734, allocations: 95.11 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.6736, allocations: 156.4 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6736, allocations: 4 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004574/0.6741, allocations: 262.6 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.6741, allocations: 68.52 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.6742, allocations: 1.312 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.6742, allocations: 2.438 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.6742, allocations: 6.281 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6742, allocations: 1.312 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.6746, allocations: 59.8 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6747, allocations: 10.12 kB / 0.955 GB, free: 4.617 MB / 0.7169 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,and1.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.0001105/0.6748, allocations: 130.9 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.6748, allocations: 6.812 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.6749, allocations: 9.781 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6749, allocations: 1.562 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6749, allocations: 4 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6749, allocations: 1.281 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.675, allocations: 181 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.675, allocations: 3.938 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.6751, allocations: 1.5 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.6751, allocations: 0 / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6751, allocations: 1.625 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6751, allocations: 0 / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6751, allocations: 5.391 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.6753, allocations: 123.2 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.6753, allocations: 78.89 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.6753, allocations: 5.016 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.6753, allocations: 1.031 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.6754, allocations: 3.188 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.6754, allocations: 6.156 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.6755, allocations: 91.45 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6755, allocations: 0 / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002577/0.6757, allocations: 34.34 kB / 0.9556 GB, free: 3.957 MB / 0.7169 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,and1.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.0004334/0.6762, allocations: 0.6559 MB / 0.9563 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.6766, allocations: 248.8 kB / 0.9565 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6766, allocations: 1 kB / 0.9565 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.6766, allocations: 23.38 kB / 0.9565 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6769, allocations: 23.05 kB / 0.9565 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.6787, allocations: 1.713 MB / 0.9582 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.6788, allocations: 0.6905 MB / 0.9589 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.6789, allocations: 8.438 kB / 0.9589 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.6789, allocations: 22.7 kB / 0.9589 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.6789, allocations: 4 kB / 0.9589 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.697, allocations: 2.846 MB / 0.9617 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.508, allocations: 13.11 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches