Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001368/0.001368, 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.001668/0.001668, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.533/2.533, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6629, allocations: 140.4 MB / 0.9497 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001758/0.6647, allocations: 0.6962 MB / 0.9504 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.666, allocations: 1.266 MB / 0.9517 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.6661, allocations: 5.594 kB / 0.9517 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.6661, allocations: 3.938 kB / 0.9517 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.6662, allocations: 17.31 kB / 0.9517 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.667, allocations: 300.7 kB / 0.952 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.6672, allocations: 286.6 kB / 0.9522 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.6673, allocations: 10.72 kB / 0.9523 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.6675, allocations: 108.2 kB / 0.9524 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.6676, allocations: 75.27 kB / 0.9524 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.6676, allocations: 22.75 kB / 0.9524 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.6677, allocations: 37.17 kB / 0.9525 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.6678, allocations: 11.94 kB / 0.9525 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.6679, allocations: 84.05 kB / 0.9526 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.6681, allocations: 214.8 kB / 0.9528 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6681, allocations: 1.219 kB / 0.9528 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6681, allocations: 3.938 kB / 0.9528 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.6681, allocations: 0 / 0.9528 GB, free: 7.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004569/0.6686, allocations: 0.4902 MB / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6686, allocations: 8.719 kB / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.6687, allocations: 36.97 kB / 0.9533 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.6687, allocations: 10.84 kB / 0.9533 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.6688, allocations: 180.3 kB / 0.9535 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6689, allocations: 11.19 kB / 0.9535 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.6689, allocations: 17.69 kB / 0.9535 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.669, allocations: 59.77 kB / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.669, allocations: 0 / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.669, allocations: 0 / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.669, allocations: 5.094 kB / 0.9536 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.6691, allocations: 23.42 kB / 0.9536 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.6695, allocations: 413.8 kB / 0.954 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.6696, allocations: 28.73 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.6696, allocations: 24.22 kB / 0.954 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.6696, allocations: 9.438 kB / 0.9541 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.6698, allocations: 96.41 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.6698, allocations: 1.344 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002611/0.6701, allocations: 135.9 kB / 0.9543 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.6701, allocations: 58.44 kB / 0.9543 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.6702, allocations: 142.6 kB / 0.9545 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.6702, allocations: 31.45 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.6703, allocations: 110.7 kB / 0.9546 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.6703, allocations: 12.12 kB / 0.9546 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6704, allocations: 66.2 kB / 0.9547 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.6705, allocations: 325.3 kB / 0.955 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6706, allocations: 89.23 kB / 0.9551 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.6708, allocations: 140.9 kB / 0.9552 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.6711, allocations: 226.2 kB / 0.9554 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6711, allocations: 5.219 kB / 0.9554 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005526/0.6716, allocations: 379.6 kB / 0.9558 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.6717, allocations: 100.9 kB / 0.9559 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6717, allocations: 2.125 kB / 0.9559 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6717, allocations: 2.031 kB / 0.9559 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.6718, allocations: 7.297 kB / 0.9559 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6718, allocations: 6.562 kB / 0.9559 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.6723, allocations: 87.19 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.6724, allocations: 17.27 kB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 9.311e-05/0.6725, allocations: 138.4 kB / 0.9561 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.6725, allocations: 7.875 kB / 0.9561 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.6725, allocations: 13.84 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.6725, allocations: 1.281 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6725, allocations: 0 / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6726, allocations: 5.297 kB / 0.9562 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6727, allocations: 189.5 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6727, allocations: 0 / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.6727, allocations: 2.094 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6727, allocations: 1.219 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.6727, allocations: 4.922 kB / 0.9564 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6727, allocations: 5.031 kB / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6727, allocations: 0 / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.6729, allocations: 150.8 kB / 0.9565 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.6729, allocations: 84.33 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.6729, allocations: 5.453 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.6729, allocations: 0 / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.673, allocations: 16.95 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.673, allocations: 3.656 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.673, allocations: 98.8 kB / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6731, allocations: 4 kB / 0.9567 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.6733, allocations: 38.94 kB / 0.9567 GB, free: 3.453 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003412/0.6737, allocations: 0.6762 MB / 0.9574 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.6741, allocations: 367.9 kB / 0.9578 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6741, allocations: 5.219 kB / 0.9578 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.6741, allocations: 35.17 kB / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.6744, allocations: 23.34 kB / 0.9578 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.6764, allocations: 2.062 MB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.6765, allocations: 0.6953 MB / 0.9605 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.017e-05/0.6766, allocations: 11.02 kB / 0.9605 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.6766, allocations: 28.81 kB / 0.9605 GB, free: 32 kB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.6766, allocations: 4 kB / 0.9605 GB, free: 28 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.6986, allocations: 3.777 MB / 0.9642 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.233, allocations: 15.45 kB / 0.9643 GB, free: 14.04 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_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_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches