Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_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.00176/0.00176, 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.002046/0.002046, allocations: 193.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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.481/2.481, allocations: 390.3 MB / 0.6647 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 64.14 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.74, allocations: 140.4 MB / 0.9497 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002001/0.742, allocations: 0.6508 MB / 0.9504 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7434, allocations: 1.185 MB / 0.9515 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.7435, allocations: 1.125 kB / 0.9515 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.7435, allocations: 0 / 0.9515 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.7436, allocations: 17.19 kB / 0.9516 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.7442, allocations: 216.3 kB / 0.9518 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.7444, allocations: 181.7 kB / 0.9519 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.7445, allocations: 9.094 kB / 0.9519 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.7445, allocations: 67.84 kB / 0.952 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.7446, allocations: 54.16 kB / 0.9521 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.7447, allocations: 18.84 kB / 0.9521 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.7448, allocations: 33.48 kB / 0.9521 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.7448, allocations: 10.7 kB / 0.9521 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.7449, allocations: 54.58 kB / 0.9522 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.7451, allocations: 156 kB / 0.9523 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7451, allocations: 1.281 kB / 0.9523 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7451, allocations: 0 / 0.9523 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7451, allocations: 0 / 0.9523 GB, free: 7.414 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.0004326/0.7455, allocations: 429 kB / 0.9527 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7456, allocations: 9.5 kB / 0.9527 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.7456, allocations: 35.83 kB / 0.9528 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.7457, allocations: 12.19 kB / 0.9528 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.914e-05/0.7457, allocations: 170.6 kB / 0.9529 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.7458, allocations: 13.78 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.7458, allocations: 13.14 kB / 0.953 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.7459, allocations: 51.2 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7459, allocations: 3.938 kB / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.7459, allocations: 1.125 kB / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7459, allocations: 0 / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.746, allocations: 15.98 kB / 0.953 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.7464, allocations: 355.2 kB / 0.9534 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.7464, allocations: 31.92 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.7465, allocations: 15.42 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.7465, allocations: 3.984 kB / 0.9534 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.7466, allocations: 88.91 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.7467, allocations: 0 / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002178/0.7469, allocations: 103.9 kB / 0.9536 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.7469, allocations: 56.78 kB / 0.9537 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.747, allocations: 123.1 kB / 0.9538 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.747, allocations: 32.62 kB / 0.9538 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.7471, allocations: 89.83 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.7471, allocations: 10.62 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.7472, allocations: 51.16 kB / 0.954 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.7472, allocations: 325.6 kB / 0.9543 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.7474, allocations: 58.72 kB / 0.9543 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.7475, allocations: 93.69 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.7477, allocations: 160.9 kB / 0.9546 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7477, allocations: 0 / 0.9546 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003942/0.7481, allocations: 258.5 kB / 0.9548 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.7481, allocations: 68.83 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7481, allocations: 1.125 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7482, allocations: 2 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.7482, allocations: 2.188 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7482, allocations: 6.219 kB / 0.9549 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.7486, allocations: 59.14 kB / 0.9549 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.7486, allocations: 12.89 kB / 0.955 GB, free: 4.898 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,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 9.352e-05/0.7487, allocations: 122.8 kB / 0.9551 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.7487, allocations: 11 kB / 0.9551 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.7488, allocations: 17.94 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7488, allocations: 1.219 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7488, allocations: 0 / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7488, allocations: 0 / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.498e-05/0.7489, allocations: 180.8 kB / 0.9553 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7489, allocations: 5.188 kB / 0.9553 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.7489, allocations: 5.344 kB / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7489, allocations: 0 / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.7489, allocations: 1.219 kB / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7489, allocations: 1.062 kB / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7489, allocations: 0 / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.7491, allocations: 115.8 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.7491, allocations: 83.72 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7491, allocations: 1.219 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.7491, allocations: 0 / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.7492, allocations: 7.5 kB / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7492, allocations: 6.391 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.7493, allocations: 87.03 kB / 0.9556 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7493, allocations: 4 kB / 0.9556 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002451/0.7495, allocations: 39.73 kB / 0.9556 GB, free: 4.234 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,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.0003627/0.7499, allocations: 0.647 MB / 0.9563 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.7502, allocations: 254.1 kB / 0.9565 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7502, allocations: 4.25 kB / 0.9565 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.7503, allocations: 28.08 kB / 0.9565 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.7505, allocations: 15.81 kB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.7521, allocations: 1.713 MB / 0.9582 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.7522, allocations: 0.696 MB / 0.9589 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.7523, allocations: 10.53 kB / 0.9589 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.7523, allocations: 23.55 kB / 0.9589 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.7523, allocations: 0 / 0.9589 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.7711, allocations: 2.849 MB / 0.9617 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.344, allocations: 13.42 kB / 0.9617 GB, free: 15.6 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches