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.005195/0.005195, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.001228/0.001228, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.478/2.478, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.97 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002088/0.3363, allocations: 0.6613 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3382, allocations: 1.188 MB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.3383, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.3384, allocations: 7.922 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3385, allocations: 7.938 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.3394, allocations: 222.4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3397, allocations: 191.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3398, allocations: 8 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.34, allocations: 63.89 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3401, allocations: 67.78 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.3402, allocations: 12 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.3403, allocations: 35.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.3403, allocations: 15.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.3404, allocations: 47.89 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3406, allocations: 159.8 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3406, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3407, allocations: 3.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3407, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 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.0006123/0.3413, allocations: 430.7 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3413, allocations: 8.031 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.3414, allocations: 34.73 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3415, allocations: 16.89 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3416, allocations: 172.3 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3416, allocations: 4.375 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3417, allocations: 12.38 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3418, allocations: 46.23 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3418, allocations: 7.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3418, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3418, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.3419, allocations: 19.92 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.3424, allocations: 348.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.3425, allocations: 34.56 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.3426, allocations: 12.86 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3426, allocations: 3.984 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.3428, allocations: 91.34 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3428, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002601/0.3431, allocations: 97.66 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3431, allocations: 55.41 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3433, allocations: 125.7 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3433, allocations: 33.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.3434, allocations: 92.12 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3434, allocations: 15.84 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3435, allocations: 49.69 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3437, allocations: 334.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3438, allocations: 55.97 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.344, allocations: 92.25 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3442, allocations: 159.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3442, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004813/0.3447, allocations: 264.8 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.3448, allocations: 67.39 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3448, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3448, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.3448, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3449, allocations: 4.062 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3452, allocations: 60.06 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3453, allocations: 11.98 kB / 1.093 GB, free: 12.26 MB / 0.8575 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.0001297/0.3454, allocations: 121.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3454, allocations: 11.94 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3455, allocations: 8.375 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3455, allocations: 8.469 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3455, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3455, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3457, allocations: 177.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3457, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.3457, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3457, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3457, allocations: 8 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3457, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3458, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3459, allocations: 113 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.346, allocations: 85 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.346, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.3461, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.3461, allocations: 7.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3461, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.3462, allocations: 91.27 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3462, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002733/0.3465, allocations: 32 kB / 1.093 GB, free: 11.5 MB / 0.8575 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.0005514/0.3471, allocations: 0.6591 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.3475, allocations: 246.7 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3475, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3475, allocations: 28.66 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3478, allocations: 16.14 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3498, allocations: 1.715 MB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3501, allocations: 0.6847 MB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3501, allocations: 7.938 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3502, allocations: 19.42 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.3502, allocations: 0 / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3731, allocations: 2.878 MB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.952, allocations: 3.75 kB / 1.1 GB, free: 5.152 MB / 0.8575 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