Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.0013/0.0013, 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.001458/0.001458, allocations: 214.1 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.487/1.487, 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.338/3.338, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002044/0.002044, allocations: 64.06 kB / 1.153 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 176.1 MB / 1.325 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001895/0.3644, allocations: 0.5871 MB / 1.326 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.415e-05/0.3645, allocations: 7.938 kB / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3645, allocations: 0 / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.3645, allocations: 0 / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.3646, allocations: 0 / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.889e-05/0.3646, allocations: 0 / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.3647, allocations: 11.92 kB / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.3647, allocations: 0 / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.3647, allocations: 4 kB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3648, allocations: 0 / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3648, allocations: 4 kB / 1.326 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.3648, allocations: 0 / 1.326 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3648, allocations: 3.984 kB / 1.326 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.3648, allocations: 0 / 1.326 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.621e-05/0.3649, allocations: 0 / 1.326 GB, free: 1.637 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3649, allocations: 7.938 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3649, allocations: 0 / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.3649, allocations: 0 / 1.326 GB, free: 1.629 MB / 1.014 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.0003505/0.3652, allocations: 238.7 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3653, allocations: 16.03 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.3653, allocations: 34.69 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.851e-05/0.3654, allocations: 0.9375 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3655, allocations: 102.5 kB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3655, allocations: 4.375 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.3655, allocations: 384 / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.3656, allocations: 30.27 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3656, allocations: 3.938 kB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3656, allocations: 3.984 kB / 1.326 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3656, allocations: 4 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.3656, allocations: 4 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.366, allocations: 354.5 kB / 1.326 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3662, allocations: 173.5 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.3662, allocations: 88.11 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.3663, allocations: 75.28 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/0.3663, allocations: 109.8 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3663, allocations: 0 / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.049e-05/0.3664, allocations: 37.67 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.3665, allocations: 130.7 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3666, allocations: 93.86 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3666, allocations: 29.83 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.3667, allocations: 80.14 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3667, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.3667, allocations: 9.719 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3669, allocations: 322.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.3669, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.3669, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.3669, allocations: 75.28 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-05/0.367, allocations: 79.22 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.531e-05/0.367, allocations: 33.64 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.3671, allocations: 79.28 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/0.3671, allocations: 79.28 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.3672, allocations: 158.5 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.3673, allocations: 79.22 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.69e-05/0.3673, allocations: 154.5 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.3674, allocations: 83.22 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.3675, allocations: 79.28 kB / 1.328 GB, free: 14.64 MB / 1.029 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.0001706/0.3676, allocations: 260.9 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.3677, allocations: 105 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.3678, allocations: 108.1 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/0.3679, allocations: 180.2 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.852e-05/0.368, allocations: 192.2 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/0.3681, allocations: 176.3 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3683, allocations: 380.2 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.735e-05/0.3684, allocations: 105 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.3685, allocations: 105 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.304e-05/0.3686, allocations: 188.2 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.3687, allocations: 176.3 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.261e-05/0.3688, allocations: 180.5 kB / 1.33 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.3688, allocations: 184.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.369, allocations: 311.7 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.3691, allocations: 109 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.3692, allocations: 184.2 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.3693, allocations: 101 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.3694, allocations: 184.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.3694, allocations: 108.9 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.3695, allocations: 79.28 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3695, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002807/0.3698, allocations: 0 / 1.332 GB, free: 11.09 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: 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.0005491/0.3703, allocations: 0.8048 MB / 1.332 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.592e-05/0.3704, allocations: 8.031 kB / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3704, allocations: 0 / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3704, allocations: 0 / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3708, allocations: 463.3 kB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3721, allocations: 1.532 MB / 1.334 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.3722, allocations: 59.34 kB / 1.334 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.362e-06/0.3722, allocations: 0 / 1.334 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.3722, allocations: 11.38 kB / 1.334 GB, free: 8.09 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.3722, allocations: 0 / 1.334 GB, free: 8.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.403, allocations: 1.417 MB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.67, allocations: 2.844 kB / 1.336 GB, free: 6.809 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.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_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.54490193584934]