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.00159/0.00159, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001947/0.001947, allocations: 217.2 kB / 22.25 MB, free: 5.219 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.012 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.3/3.3, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.002055/0.002055, allocations: 64.38 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001968/0.359, allocations: 0.6581 MB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3607, allocations: 1.229 MB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.3608, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3608, allocations: 3.938 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.3609, allocations: 15.92 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.3616, allocations: 219 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3618, allocations: 175.7 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.3619, allocations: 11.98 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.917e-05/0.362, allocations: 67.89 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3622, allocations: 63.84 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3622, allocations: 16 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.3623, allocations: 35.98 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.3623, allocations: 11.92 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.3624, allocations: 55.83 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3626, allocations: 151.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3626, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3626, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3626, allocations: 0 / 1.329 GB, free: 15.29 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.000549/0.3632, allocations: 367.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3632, allocations: 8.031 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3633, allocations: 42.75 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3633, allocations: 4.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3634, allocations: 114.4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3634, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3635, allocations: 16.36 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3636, allocations: 46.25 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3636, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3636, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3636, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.3637, allocations: 15.98 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3642, allocations: 339.7 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.3642, allocations: 26.58 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.3643, allocations: 20.88 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3643, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3645, allocations: 91.27 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3645, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.3647, allocations: 97.62 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3648, allocations: 55.41 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3649, allocations: 117.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.3649, allocations: 33.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.365, allocations: 88.12 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.365, allocations: 15.91 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.3651, allocations: 46.06 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3653, allocations: 330.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3654, allocations: 63.91 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.3656, allocations: 92.19 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3658, allocations: 155.6 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3658, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000436/0.3662, allocations: 264.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.3663, allocations: 71.39 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3663, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3663, allocations: 4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.878e-05/0.3663, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3663, allocations: 16.05 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3667, allocations: 55.89 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.3667, allocations: 8 kB / 1.331 GB, free: 12.45 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.0001172/0.3668, allocations: 130.2 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.3668, allocations: 7.984 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3669, allocations: 12.38 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3669, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3669, allocations: 4.062 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3669, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.367, allocations: 148.6 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.367, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.367, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.367, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.367, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.367, allocations: 7.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.367, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3672, allocations: 112.9 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.3672, allocations: 7.953 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3672, allocations: 4.094 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3672, allocations: 7.922 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.3673, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3673, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.3673, allocations: 91.27 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3673, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002342/0.3676, allocations: 28 kB / 1.332 GB, free: 11.8 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.0005059/0.3681, allocations: 0.6553 MB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3684, allocations: 214.7 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3684, allocations: 4.25 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.3685, allocations: 20.47 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3687, allocations: 13.55 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3707, allocations: 1.722 MB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.371, allocations: 0.686 MB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.371, allocations: 7.984 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3711, allocations: 19.44 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3711, allocations: 0.5625 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.4008, allocations: 3.023 MB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.1, allocations: 6.062 kB / 1.338 GB, free: 5.387 MB / 1.029 GB " [Timeout remaining time 289] (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.14579359900017]