Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_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.001254/0.001254, 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.001236/0.001236, allocations: 197.3 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.522/2.522, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6435, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001821/0.6454, allocations: 0.7024 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.6468, allocations: 1.269 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.6468, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.6469, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.6469, allocations: 15.86 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.6477, allocations: 303.8 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.6479, allocations: 279.5 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.648, allocations: 16.17 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.6482, allocations: 103.8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.6483, allocations: 79.75 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.6483, allocations: 20 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.6484, allocations: 43.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.6485, allocations: 11.94 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.6486, allocations: 83.8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.6488, allocations: 213.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6488, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6488, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6488, allocations: 0 / 1.02 GB, free: 15.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005328/0.6494, allocations: 0.4924 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6494, allocations: 8.031 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.6494, allocations: 34.75 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.6495, allocations: 20.84 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6496, allocations: 180.2 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.6496, allocations: 8.375 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.6497, allocations: 16.38 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6498, allocations: 65.95 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6498, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6498, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6498, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.6499, allocations: 19.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.6504, allocations: 420.4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.6505, allocations: 26.58 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.6505, allocations: 24.94 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.6505, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.6507, allocations: 107.2 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.6507, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.6509, allocations: 137.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.651, allocations: 55.41 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.6511, allocations: 135.9 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.6511, allocations: 33.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.6512, allocations: 104 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.6512, allocations: 19.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6514, allocations: 69.67 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.6515, allocations: 326.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.6516, allocations: 87.95 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.6518, allocations: 131.7 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.6521, allocations: 234.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6521, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005281/0.6526, allocations: 374.5 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.6527, allocations: 101.1 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6527, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6527, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.6527, allocations: 11.92 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6528, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.6533, allocations: 87.84 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.6533, allocations: 15.98 kB / 1.024 GB, free: 11.71 MB / 0.7794 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 0.0001051/0.6534, allocations: 143.5 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.6535, allocations: 3.906 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.6535, allocations: 16.31 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.6535, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6535, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6535, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.6536, allocations: 201.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6537, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.6537, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6537, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6537, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6537, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.6537, allocations: 3.984 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.6539, allocations: 136.8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.6539, allocations: 89.02 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.6539, allocations: 3.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.654, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.654, allocations: 11.98 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.654, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.593e-05/0.6541, allocations: 101.1 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6541, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002432/0.6543, allocations: 40 kB / 1.024 GB, free: 10.86 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: 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.000429/0.6548, allocations: 0.6803 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.6552, allocations: 370.1 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6552, allocations: 0 / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.6553, allocations: 39.92 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.6555, allocations: 32.28 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.6577, allocations: 2.055 MB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.6579, allocations: 0.6924 MB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.6579, allocations: 8.422 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.658, allocations: 27.44 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.658, allocations: 0 / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.6779, allocations: 3.784 MB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.738, allocations: 11.94 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches