Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001819/0.001819, 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.002408/0.002408, allocations: 212.2 kB / 22.24 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.002122/0.002122, allocations: 72.95 kB / 1.117 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 169.9 MB / 1.283 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002226/0.371, allocations: 0.5585 MB / 1.283 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.162e-05/0.371, allocations: 0 / 1.283 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.371, allocations: 0 / 1.283 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.3711, allocations: 3.938 kB / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.3711, allocations: 0 / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.044e-05/0.3711, allocations: 0 / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.3712, allocations: 8 kB / 1.283 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.76e-05/0.3713, allocations: 0 / 1.283 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.3713, allocations: 7.984 kB / 1.283 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.3713, allocations: 0 / 1.283 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3713, allocations: 0 / 1.283 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.3713, allocations: 4 kB / 1.283 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3714, allocations: 0 / 1.283 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.3714, allocations: 0 / 1.283 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.3715, allocations: 7.922 kB / 1.283 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3715, allocations: 0 / 1.283 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3715, allocations: 0 / 1.283 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3715, allocations: 0 / 1.283 GB, free: 3.68 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004133/0.3719, allocations: 238.7 kB / 1.283 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.372, allocations: 16.03 kB / 1.283 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.372, allocations: 30.75 kB / 1.283 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.372, allocations: 0.9375 kB / 1.283 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3722, allocations: 106.5 kB / 1.284 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3722, allocations: 8.312 kB / 1.284 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3722, allocations: 4.312 kB / 1.284 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3723, allocations: 26.27 kB / 1.284 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3723, allocations: 3.938 kB / 1.284 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3723, allocations: 0 / 1.284 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3723, allocations: 0 / 1.284 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.3723, allocations: 11.98 kB / 1.284 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.3728, allocations: 350.6 kB / 1.284 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3729, allocations: 177.4 kB / 1.284 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.373, allocations: 84.17 kB / 1.284 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.373, allocations: 75.28 kB / 1.284 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/0.3731, allocations: 105.8 kB / 1.284 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3731, allocations: 0 / 1.284 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.843e-05/0.3732, allocations: 37.69 kB / 1.284 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.3733, allocations: 130.6 kB / 1.284 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3734, allocations: 101.9 kB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3734, allocations: 25.7 kB / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.3735, allocations: 84.12 kB / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3735, allocations: 0 / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.3735, allocations: 9.719 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3737, allocations: 314.8 kB / 1.285 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.3737, allocations: 4 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.3737, allocations: 3.938 kB / 1.285 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.3737, allocations: 75.28 kB / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-05/0.3738, allocations: 79.22 kB / 1.285 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.486e-05/0.3738, allocations: 29.7 kB / 1.285 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.3739, allocations: 87.41 kB / 1.285 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-05/0.3739, allocations: 79.22 kB / 1.285 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.444e-05/0.374, allocations: 158.5 kB / 1.285 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.3741, allocations: 79.22 kB / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-05/0.3742, allocations: 150.6 kB / 1.286 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.3743, allocations: 79.28 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.3743, allocations: 80.64 kB / 1.286 GB, free: 0.6875 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001602/0.3745, allocations: 264.3 kB / 1.286 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.3746, allocations: 105 kB / 1.286 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.3747, allocations: 112.1 kB / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-05/0.3748, allocations: 180.3 kB / 1.287 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001229/0.3749, allocations: 180.3 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.724e-05/0.375, allocations: 180.2 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.3753, allocations: 380.2 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.784e-05/0.3753, allocations: 108.9 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.3754, allocations: 101 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3755, allocations: 184.2 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.3756, allocations: 180.2 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.244e-05/0.3757, allocations: 184.6 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.855e-05/0.3758, allocations: 184.2 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.376, allocations: 311.7 kB / 1.288 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.376, allocations: 109 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.3761, allocations: 180.3 kB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.3762, allocations: 104.9 kB / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.3763, allocations: 180.3 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.3764, allocations: 104.9 kB / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.3764, allocations: 83.27 kB / 1.289 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3764, allocations: 4 kB / 1.289 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002445/0.3767, allocations: 0 / 1.289 GB, free: 13.14 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005245/0.3772, allocations: 0.801 MB / 1.29 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.027e-05/0.3772, allocations: 4 kB / 1.29 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3772, allocations: 0 / 1.29 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3773, allocations: 7.875 kB / 1.29 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3777, allocations: 465.6 kB / 1.29 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.379, allocations: 1.516 MB / 1.292 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.3791, allocations: 59.34 kB / 1.292 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.3791, allocations: 0 / 1.292 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3791, allocations: 7.438 kB / 1.292 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.3791, allocations: 4.094 kB / 1.292 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.4085, allocations: 1.413 MB / 1.293 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 8.625 kB / 1.293 GB, free: 8.867 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.656226110178977]