Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00216/0.00216, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 0.4892 GB / 0.7943 GB, free: 35.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_12_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.002047/0.002047, allocations: 62.16 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3672, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002027/0.3692, allocations: 0.6539 MB / 1.326 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3708, allocations: 1.214 MB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.3709, allocations: 4 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.3709, allocations: 3.938 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.371, allocations: 3.938 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.3717, allocations: 226 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.3719, allocations: 171.7 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.372, allocations: 19.97 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.3721, allocations: 59.97 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3723, allocations: 59.91 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.3723, allocations: 16 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.3724, allocations: 27.86 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.3724, allocations: 8 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.3725, allocations: 51.88 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3727, allocations: 155.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3727, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3727, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3727, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 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.0005506/0.3733, allocations: 361.5 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3733, allocations: 8.031 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.3734, allocations: 42.73 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.3734, allocations: 4.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3735, allocations: 114.4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3736, allocations: 4.375 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.3736, allocations: 12.38 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3737, allocations: 50.23 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3737, allocations: 7.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3737, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3737, allocations: 4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.3738, allocations: 11.98 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.3742, allocations: 299.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.3743, allocations: 26.58 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.3744, allocations: 20.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.3744, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.3745, allocations: 87.2 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3745, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000251/0.3748, allocations: 109.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3748, allocations: 51.41 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3749, allocations: 121.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.375, allocations: 33.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.3751, allocations: 88.14 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3751, allocations: 11.91 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.3752, allocations: 45.69 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3753, allocations: 326.8 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3755, allocations: 119.4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3757, allocations: 155.6 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3759, allocations: 163.6 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3759, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004919/0.3764, allocations: 332.2 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.3764, allocations: 67.86 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3764, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3765, allocations: 192 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.3765, allocations: 12 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3765, allocations: 320 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.3768, allocations: 63.77 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.3768, allocations: 11.98 kB / 1.33 GB, free: 12.66 MB / 1.029 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.0001186/0.377, allocations: 126.2 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.377, allocations: 7.984 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.377, allocations: 16.38 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.377, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.377, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.377, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3772, allocations: 144.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3772, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-06/0.3772, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3772, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3772, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3772, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3772, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3773, allocations: 124.9 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.3774, allocations: 7.953 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3774, allocations: 3.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.3774, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3774, allocations: 7.984 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3774, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.3775, allocations: 91.27 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3775, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.3777, allocations: 28 kB / 1.331 GB, free: 12.03 MB / 1.029 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.0005273/0.3783, allocations: 0.6592 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3786, allocations: 274.1 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3786, allocations: 4 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.3787, allocations: 23.98 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3789, allocations: 17.77 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3812, allocations: 1.968 MB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.3813, allocations: 80.45 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.3813, allocations: 4 kB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3813, allocations: 15.44 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3813, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.4125, allocations: 3.638 MB / 1.337 GB, free: 5.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 10.22 kB / 1.337 GB, free: 5.262 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.777708529960364]