Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.00184/0.00184, allocations: 102.7 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002255/0.002255, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] 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 3.383/3.383, allocations: 0.505 GB / 0.8066 GB, free: 23.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 66.48 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.344, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001975/0.3459, allocations: 0.6588 MB / 1.348 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3476, allocations: 1.214 MB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.3476, allocations: 4 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.3477, allocations: 7.938 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.3477, allocations: 11.92 kB / 1.35 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.3484, allocations: 215.4 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3487, allocations: 175.7 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3488, allocations: 15.92 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3489, allocations: 67.89 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3491, allocations: 63.84 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.3491, allocations: 19.94 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.3492, allocations: 23.98 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3492, allocations: 15.92 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.3493, allocations: 55.89 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3496, allocations: 151.8 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3496, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3496, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3496, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 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.0006599/0.3503, allocations: 438.6 kB / 1.351 GB, free: 6.828 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3503, allocations: 19.97 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.3504, allocations: 38.75 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.3504, allocations: 8.891 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3506, allocations: 168.3 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3506, allocations: 4.375 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.3506, allocations: 16.36 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3507, allocations: 46.25 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3508, allocations: 3.938 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3508, allocations: 0 / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3508, allocations: 0 / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.3508, allocations: 19.98 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.3514, allocations: 360.6 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.3515, allocations: 26.58 kB / 1.351 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3515, allocations: 16.94 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3515, allocations: 0 / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3517, allocations: 83.31 kB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 3.727e-06/0.3517, allocations: 7.984 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002724/0.352, allocations: 101.6 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.352, allocations: 51.41 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3522, allocations: 126 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3522, allocations: 29.7 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.3523, allocations: 92.09 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3523, allocations: 12.05 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3524, allocations: 57.62 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3525, allocations: 330.7 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3527, allocations: 51.97 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3528, allocations: 100.2 kB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3531, allocations: 155.6 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3531, allocations: 0 / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004945/0.3535, allocations: 268.8 kB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.3536, allocations: 71.39 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3536, allocations: 64 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3536, allocations: 4.125 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.838e-05/0.3537, allocations: 8 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3537, allocations: 3.984 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.354, allocations: 55.83 kB / 1.353 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.3541, allocations: 16 kB / 1.353 GB, free: 4.27 MB / 1.045 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,and1.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.0001159/0.3542, allocations: 125.8 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3542, allocations: 11.95 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3542, allocations: 8.375 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3542, allocations: 0 / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3542, allocations: 0 / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3542, allocations: 0 / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3544, allocations: 181.5 kB / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3544, allocations: 0 / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.3544, allocations: 4 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3544, allocations: 0 / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3544, allocations: 0 / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3544, allocations: 96 / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3544, allocations: 7.938 kB / 1.353 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3546, allocations: 113.3 kB / 1.353 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.3546, allocations: 85.06 kB / 1.354 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3546, allocations: 3.984 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.3546, allocations: 4 kB / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3547, allocations: 4 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3547, allocations: 0 / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.3547, allocations: 95.27 kB / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 0 / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002467/0.355, allocations: 32 kB / 1.354 GB, free: 3.512 MB / 1.045 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,and1.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.0005461/0.3555, allocations: 0.6631 MB / 1.354 GB, free: 2.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3559, allocations: 218.8 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3559, allocations: 0 / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.356, allocations: 20 kB / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3562, allocations: 15.98 kB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3584, allocations: 1.728 MB / 1.356 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3587, allocations: 0.6813 MB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.3587, allocations: 7.984 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3587, allocations: 19.44 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3587, allocations: 4 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3858, allocations: 2.902 MB / 1.36 GB, free: 13.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.524, allocations: 4.062 kB / 1.36 GB, free: 13.16 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_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_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable and1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.657124468823895]