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.008481/0.008481, allocations: 101.3 kB / 15.73 MB, free: 6.055 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.001974/0.001974, allocations: 197.2 kB / 16.68 MB, free: 5.957 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.323/2.323, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.88 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8324, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001675/0.8341, allocations: 0.7127 MB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.8354, allocations: 1.261 MB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.8355, allocations: 0 / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.8355, allocations: 9.734 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.8356, allocations: 20.8 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.8364, allocations: 317.1 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.8367, allocations: 274.7 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.8368, allocations: 17.47 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.8369, allocations: 101.3 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.8371, allocations: 96.33 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.8372, allocations: 22.94 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.8372, allocations: 36.36 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.8373, allocations: 10.84 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.8374, allocations: 87.64 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.8377, allocations: 216.7 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8377, allocations: 1.125 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8377, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.8377, allocations: 0 / 1.091 GB, free: 3.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004734/0.8382, allocations: 498.8 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8382, allocations: 13.66 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.8383, allocations: 37.38 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.8383, allocations: 16.31 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.8384, allocations: 177.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.8385, allocations: 7.859 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.8385, allocations: 18.66 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8387, allocations: 63.03 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8387, allocations: 0.5625 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.8387, allocations: 1.281 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8387, allocations: 4.969 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.8388, allocations: 17.81 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.8393, allocations: 412.8 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.8393, allocations: 33.47 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.8394, allocations: 24.12 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.8394, allocations: 5.031 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.8396, allocations: 96.7 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.8396, allocations: 0 / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002941/0.8399, allocations: 135.9 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.8399, allocations: 58.78 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.84, allocations: 144.1 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.8401, allocations: 31.11 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.8401, allocations: 105.3 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.8401, allocations: 16.66 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.8403, allocations: 67.48 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.8403, allocations: 324.2 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.8405, allocations: 91.33 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.8407, allocations: 134.5 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.841, allocations: 235.7 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.841, allocations: 1.094 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005889/0.8416, allocations: 383.2 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.8416, allocations: 102.2 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8417, allocations: 1.219 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8417, allocations: 7.641 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.8417, allocations: 3.047 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8417, allocations: 11.03 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.8422, allocations: 83.77 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.8423, allocations: 17.98 kB / 1.094 GB, free: 0.7461 MB / 0.8575 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.292e-05/0.8424, allocations: 132.5 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.8424, allocations: 16.64 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.8424, allocations: 11.39 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8424, allocations: 1.828 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8425, allocations: 4 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8425, allocations: 0.7969 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.8426, allocations: 191.9 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8426, allocations: 0.75 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.8426, allocations: 7.031 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8426, allocations: 0.8125 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8426, allocations: 2.672 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8427, allocations: 0.5625 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8427, allocations: 0.5938 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.8428, allocations: 149.1 kB / 1.094 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.8429, allocations: 84.98 kB / 1.094 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.8429, allocations: 1.594 kB / 1.094 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.8429, allocations: 1.391 kB / 1.094 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.843, allocations: 12.03 kB / 1.094 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.843, allocations: 4.516 kB / 1.094 GB, free: 184 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.843, allocations: 101.9 kB / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.843, allocations: 0 / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002814/0.8433, allocations: 44.11 kB / 1.095 GB, free: 96 kB / 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: 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.0004652/0.8438, allocations: 0.6822 MB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.8443, allocations: 367.2 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8444, allocations: 384 / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.8444, allocations: 39.91 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.8447, allocations: 20.98 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.8474, allocations: 2.055 MB / 1.098 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.8477, allocations: 0.6971 MB / 1.098 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.8477, allocations: 8.25 kB / 1.098 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.8478, allocations: 31.11 kB / 1.098 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8478, allocations: 0 / 1.098 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.8705, allocations: 3.803 MB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.573, allocations: 19.28 kB / 1.102 GB, free: 12.27 MB / 0.8731 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