Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001351/0.001351, 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.001659/0.001659, allocations: 213.8 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.777 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.862/2.862, allocations: 476 MB / 0.7699 GB, free: 4.746 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_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.002107/0.002107, allocations: 67.27 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002087/0.3563, allocations: 0.5374 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.69e-05/0.3563, allocations: 0 / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.3564, allocations: 4 kB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.3564, allocations: 3.938 kB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.3564, allocations: 0 / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.32e-05/0.3565, allocations: 0 / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.3565, allocations: 7.922 kB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.3566, allocations: 7.984 kB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.3566, allocations: 0 / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.3566, allocations: 0 / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3566, allocations: 4 kB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.3566, allocations: 0 / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.3567, allocations: 4 kB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.3567, allocations: 0 / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.3567, allocations: 5.688 kB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3568, allocations: 0 / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3568, allocations: 0 / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3568, allocations: 3.938 kB / 1.283 GB, free: 11.83 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.0003348/0.3571, allocations: 234.5 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3571, allocations: 8.031 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.3572, allocations: 30.75 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.3572, allocations: 4.938 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3573, allocations: 114.1 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.3573, allocations: 4.312 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3573, allocations: 384 / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3574, allocations: 30.27 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3574, allocations: 3.938 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3575, allocations: 3.984 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3575, allocations: 3.938 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.3575, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.3578, allocations: 350.6 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3579, allocations: 181 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.358, allocations: 80.14 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.358, allocations: 75.28 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.3581, allocations: 113.8 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3581, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.05e-05/0.3582, allocations: 37.58 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.3582, allocations: 126.7 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.3583, allocations: 93.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3583, allocations: 25.7 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.3584, allocations: 88.27 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.3584, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.3584, allocations: 13.72 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3586, allocations: 310.8 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-06/0.3586, allocations: 128 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.3586, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.3586, allocations: 79.28 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.339e-05/0.3586, allocations: 79.22 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.629e-05/0.3587, allocations: 33.69 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3587, allocations: 79.28 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.3588, allocations: 83.22 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.933e-05/0.3588, allocations: 154.6 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.3589, allocations: 83.22 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-05/0.359, allocations: 158.5 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.359, allocations: 75.28 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.3591, allocations: 89 kB / 1.286 GB, free: 8.844 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.0001485/0.3592, allocations: 264.3 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.3593, allocations: 101 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.3594, allocations: 116.1 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.122e-05/0.3595, allocations: 176.3 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-05/0.3595, allocations: 184.2 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.3596, allocations: 184.3 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3599, allocations: 372.2 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.3599, allocations: 108.9 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.36, allocations: 105 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.664e-05/0.3601, allocations: 180.2 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/0.3602, allocations: 184.3 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.645e-05/0.3603, allocations: 176.3 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-05/0.3604, allocations: 180.2 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3605, allocations: 312.1 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.3606, allocations: 108.9 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/0.3607, allocations: 180.3 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3608, allocations: 120.9 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3609, allocations: 176.3 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.361, allocations: 104.9 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.361, allocations: 79.28 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002868/0.3613, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 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.0005468/0.3619, allocations: 0.8048 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.965e-05/0.3619, allocations: 3.938 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3619, allocations: 8.094 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.3619, allocations: 0 / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3624, allocations: 457.8 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3637, allocations: 1.528 MB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.3637, allocations: 51.36 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.654e-06/0.3637, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.3638, allocations: 7.438 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3638, allocations: 0 / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.4023, allocations: 1.416 MB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.64, allocations: 8.734 kB / 1.293 GB, free: 1.035 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.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_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.57471112208441]