Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007649/0.0007649, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.754/1.754, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.487e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001378/0.001403, allocations: 0.6336 MB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.0026, allocations: 1.206 MB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.002643, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.002679, allocations: 3.938 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.002862, allocations: 19.86 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.003379, allocations: 220.8 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.003586, allocations: 175.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.003691, allocations: 15.92 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003807, allocations: 91.88 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.003916, allocations: 55.84 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.003946, allocations: 16 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.004013, allocations: 20 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.004038, allocations: 15.97 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.004098, allocations: 43.91 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.004304, allocations: 187.5 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.004308, allocations: 4 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.803e-06/0.00431, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004315, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 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.0004047/0.004719, allocations: 357.6 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.00476, allocations: 12.73 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.004789, allocations: 38.75 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.004826, allocations: 4.938 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.0049, allocations: 113.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.004915, allocations: 8.375 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.004934, allocations: 12.31 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.005029, allocations: 50.23 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005036, allocations: 192 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.005045, allocations: 384 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.00505, allocations: 8.125 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.005085, allocations: 19.98 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.005468, allocations: 288 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.005537, allocations: 30.52 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.005559, allocations: 20.94 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.005569, allocations: 3.938 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.005718, allocations: 79.33 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.005719, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002056/0.005925, allocations: 113.6 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.00596, allocations: 55.41 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.006031, allocations: 129.7 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.006055, allocations: 33.7 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.0061, allocations: 88.14 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.006112, allocations: 11.91 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.006173, allocations: 49.67 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.006253, allocations: 318.8 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.006379, allocations: 119.4 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.006501, allocations: 155.7 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.006634, allocations: 171.5 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.006639, allocations: 7.938 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002972/0.006936, allocations: 324.2 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.006978, allocations: 67.39 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.006985, allocations: 4 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006997, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.007017, allocations: 4 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.007023, allocations: 0 / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.007224, allocations: 60.45 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.007245, allocations: 12 kB / 1.005 GB, free: 7.73 MB / 0.9636 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 8.784e-05/0.007333, allocations: 133.7 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.007343, allocations: 3.953 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.007366, allocations: 12.44 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007368, allocations: 3.938 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.007373, allocations: 0 / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007376, allocations: 4 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.74e-05/0.007463, allocations: 144.7 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007465, allocations: 0 / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.007471, allocations: 4 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007472, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007479, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007481, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007482, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.00759, allocations: 117 kB / 1.005 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.007598, allocations: 7.953 kB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.00761, allocations: 64 / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.007627, allocations: 19.92 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.007658, allocations: 0 / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.007665, allocations: 8 kB / 1.005 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.007702, allocations: 91.27 kB / 1.005 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007702, allocations: 0 / 1.005 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001637/0.007866, allocations: 28 kB / 1.006 GB, free: 7.094 MB / 0.9636 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.000352/0.008218, allocations: 0.6514 MB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.008481, allocations: 282.3 kB / 1.006 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.008483, allocations: 4.062 kB / 1.006 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.008516, allocations: 23.94 kB / 1.006 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.008717, allocations: 22.16 kB / 1.006 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.01027, allocations: 1.953 MB / 1.008 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.01031, allocations: 75.33 kB / 1.008 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.01034, allocations: 11.86 kB / 1.008 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.01038, allocations: 20.48 kB / 1.008 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01038, allocations: 0 / 1.008 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.02876, allocations: 3.741 MB / 1.012 GB, free: 240 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.813, allocations: 12.48 kB / 1.012 GB, free: 232 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable or1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.003378452733159]