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.001831/0.001831, allocations: 108 kB / 15.61 MB, free: 152 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.00238/0.00238, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.586/2.586, allocations: 437.1 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6546, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00205/0.6567, allocations: 0.6734 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.6583, allocations: 1.179 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.6584, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.6584, allocations: 3.938 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.6585, allocations: 19.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006881/0.6592, allocations: 203.1 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.6594, allocations: 191.6 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.6595, allocations: 8 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.6597, allocations: 67.88 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.6598, allocations: 51.88 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.6598, allocations: 16 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.6599, allocations: 27.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.6599, allocations: 7.984 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.66, allocations: 59.83 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.6603, allocations: 145.9 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6603, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6603, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6603, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 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.0005227/0.6608, allocations: 442.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6609, allocations: 12.03 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.6609, allocations: 34.69 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.661, allocations: 12.84 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.6611, allocations: 168.3 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6611, allocations: 8.312 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.6612, allocations: 16.36 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6613, allocations: 46.25 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6613, allocations: 3.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6613, allocations: 3.984 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6613, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.6614, allocations: 15.94 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.6618, allocations: 356.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.6619, allocations: 30.56 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.662, allocations: 16.86 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.662, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.6621, allocations: 87.39 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.6621, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002482/0.6624, allocations: 101.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6624, allocations: 55.39 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.6625, allocations: 113.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.6626, allocations: 33.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.6626, allocations: 92.14 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.6627, allocations: 19.78 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.6628, allocations: 53.62 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.6629, allocations: 318.8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.663, allocations: 63.95 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.6632, allocations: 89.52 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.6634, allocations: 160.1 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6634, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004137/0.6638, allocations: 264.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.6638, allocations: 71.39 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6639, allocations: 8.062 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6639, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.136e-05/0.6639, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6639, allocations: 7.938 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.6643, allocations: 55.88 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.6643, allocations: 11.98 kB / 1.023 GB, free: 12.78 MB / 0.7794 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.779e-05/0.6644, allocations: 129.1 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.6645, allocations: 11.89 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.6645, allocations: 8.375 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6645, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6645, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6645, allocations: 64 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.6647, allocations: 177.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6647, allocations: 3.984 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.6647, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6647, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6647, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6647, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6647, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.6649, allocations: 116.9 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.6649, allocations: 81.11 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6649, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.665, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.665, allocations: 7.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.665, allocations: 8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.6651, allocations: 91.2 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6651, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002399/0.6653, allocations: 31.91 kB / 1.023 GB, free: 12.02 MB / 0.7794 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.000435/0.6658, allocations: 0.6475 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.6661, allocations: 250.7 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6661, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.6662, allocations: 23.94 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.6664, allocations: 16.61 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.6683, allocations: 1.719 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.6685, allocations: 0.6924 MB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.6685, allocations: 4 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.6686, allocations: 19.44 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/0.6686, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.689, allocations: 2.85 MB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.34, allocations: 16.52 kB / 1.029 GB, free: 5.672 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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