Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001581/0.001581, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001728/0.001728, allocations: 215.8 kB / 23.03 MB, free: 4.922 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.796/2.796, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",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.002022/0.002022, allocations: 63.97 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02817/0.4026, allocations: 21.58 MB / 1.305 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008706/0.4113, allocations: 4.733 MB / 1.31 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4124, allocations: 35.69 kB / 1.31 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.4134, allocations: 278.2 kB / 1.31 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.4162, allocations: 0.8397 MB / 1.311 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.4186, allocations: 0.7809 MB / 1.312 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.4215, allocations: 1.668 MB / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.4223, allocations: 394.1 kB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.4242, allocations: 0.6417 MB / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.4249, allocations: 481.9 kB / 1.315 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.425, allocations: 47.94 kB / 1.315 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.4261, allocations: 423.1 kB / 1.315 GB, free: 10.63 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.4263, allocations: 147.4 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.4266, allocations: 250.9 kB / 1.316 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4281, allocations: 0.9353 MB / 1.317 GB, free: 9.305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4281, allocations: 0 / 1.317 GB, free: 9.305 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4281, allocations: 0 / 1.317 GB, free: 9.305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4281, allocations: 0 / 1.317 GB, free: 9.305 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001489/0.4296, allocations: 0.8353 MB / 1.317 GB, free: 8.438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4297, allocations: 12.03 kB / 1.317 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.832e-05/0.4297, allocations: 9.188 kB / 1.317 GB, free: 8.418 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.878e-05/0.4298, allocations: 74.72 kB / 1.317 GB, free: 8.336 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.43, allocations: 76.45 kB / 1.318 GB, free: 8.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.4311, allocations: 0.5188 MB / 1.318 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.4311, allocations: 32.94 kB / 1.318 GB, free: 7.684 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.4312, allocations: 40 kB / 1.318 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/0.432, allocations: 0.5017 MB / 1.319 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4321, allocations: 0 / 1.319 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.4321, allocations: 16 kB / 1.319 GB, free: 7.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.4321, allocations: 12 kB / 1.319 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.4327, allocations: 307.8 kB / 1.319 GB, free: 6.777 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.4355, allocations: 1.517 MB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.436, allocations: 246.8 kB / 1.321 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.4362, allocations: 116.8 kB / 1.321 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/0.4368, allocations: 103.9 kB / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4368, allocations: 34.56 kB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.4368, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007576/0.4376, allocations: 379.5 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4376, allocations: 55.41 kB / 1.321 GB, free: 4.246 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.4382, allocations: 482 kB / 1.322 GB, free: 3.766 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4383, allocations: 29.7 kB / 1.322 GB, free: 3.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.4385, allocations: 268.5 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.4386, allocations: 99.11 kB / 1.322 GB, free: 3.367 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.4387, allocations: 66.02 kB / 1.322 GB, free: 3.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4389, allocations: 354.8 kB / 1.323 GB, free: 2.941 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4391, allocations: 100.6 kB / 1.323 GB, free: 2.844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.4394, allocations: 245.2 kB / 1.323 GB, free: 2.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.4398, allocations: 291.1 kB / 1.323 GB, free: 2.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4398, allocations: 4 kB / 1.323 GB, free: 2.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006552/0.4405, allocations: 369.2 kB / 1.323 GB, free: 1.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4405, allocations: 8 kB / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4405, allocations: 0 / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4405, allocations: 11.94 kB / 1.323 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4408, allocations: 71.91 kB / 1.324 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4408, allocations: 4 kB / 1.324 GB, free: 1.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4411, allocations: 39.72 kB / 1.324 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.4412, allocations: 12 kB / 1.324 GB, free: 1.738 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0002348/0.4414, allocations: 182.4 kB / 1.324 GB, free: 1.551 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4415, allocations: 59.69 kB / 1.324 GB, free: 1.492 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.4424, allocations: 482.6 kB / 1.324 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4424, allocations: 4 kB / 1.324 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4424, allocations: 0 / 1.324 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006687/0.4431, allocations: 0.5807 MB / 1.325 GB, free: 372 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.4451, allocations: 1.014 MB / 1.326 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4451, allocations: 0 / 1.326 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.4453, allocations: 51.91 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4453, allocations: 4.188 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4453, allocations: 12 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4453, allocations: 7.984 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4453, allocations: 0 / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4464, allocations: 0.6836 MB / 1.327 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.4466, allocations: 103.7 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.4467, allocations: 4 kB / 1.327 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.4469, allocations: 12 kB / 1.327 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.447, allocations: 27.89 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.447, allocations: 19.92 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004623/0.4475, allocations: 350.9 kB / 1.327 GB, free: 13.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4475, allocations: 0 / 1.327 GB, free: 13.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000702/0.4482, allocations: 207.5 kB / 1.327 GB, free: 13.78 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001742/0.4499, allocations: 1.388 MB / 1.329 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.4505, allocations: 283.8 kB / 1.329 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4505, allocations: 0 / 1.329 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.4508, allocations: 163 kB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.4524, allocations: 344.8 kB / 1.329 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.4585, allocations: 4.23 MB / 1.334 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4588, allocations: 258.4 kB / 1.334 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004517/0.4593, allocations: 124.7 kB / 1.334 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.4596, allocations: 199.2 kB / 1.334 GB, free: 6.598 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.4596, allocations: 0 / 1.334 GB, free: 6.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.5098, allocations: 18.43 MB / 1.352 GB, free: 4.648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.24, allocations: 9.188 kB / 1.352 GB, free: 4.645 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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: 20.052794381976128]