Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001434/0.001434, allocations: 114.3 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.001569/0.001569, allocations: 219.6 kB / 22.26 MB, free: 5.211 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.317/1.317, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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 2.857/2.857, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",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.001891/0.001891, allocations: 73.05 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02455/0.3051, allocations: 23.81 MB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.3125, allocations: 5.129 MB / 1.354 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.3132, allocations: 35.69 kB / 1.354 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.3139, allocations: 286 kB / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.3157, allocations: 0.8475 MB / 1.355 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3175, allocations: 0.808 MB / 1.356 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.3195, allocations: 1.648 MB / 1.358 GB, free: 1.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.3201, allocations: 406.1 kB / 1.358 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.3217, allocations: 0.731 MB / 1.359 GB, free: 176 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.3223, allocations: 470.1 kB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.3224, allocations: 48 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.3234, allocations: 0.5263 MB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3235, allocations: 151.4 kB / 1.36 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.3238, allocations: 306.5 kB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3251, allocations: 0.9498 MB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3251, allocations: 4 kB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3251, allocations: 0 / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.3251, allocations: 0 / 1.361 GB, free: 13.73 MB / 1.061 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.001259/0.3263, allocations: 0.8353 MB / 1.362 GB, free: 12.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3264, allocations: 8.031 kB / 1.362 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.3265, allocations: 82.66 kB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3266, allocations: 64.56 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.3276, allocations: 0.5113 MB / 1.363 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.3276, allocations: 36.88 kB / 1.363 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.3277, allocations: 40 kB / 1.363 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.3283, allocations: 432.7 kB / 1.363 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3283, allocations: 0 / 1.363 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.3284, allocations: 19.98 kB / 1.363 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3284, allocations: 8 kB / 1.363 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.3289, allocations: 319.7 kB / 1.363 GB, free: 11.3 MB / 1.061 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.00249/0.3314, allocations: 1.769 MB / 1.365 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.3319, allocations: 254.7 kB / 1.365 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.332, allocations: 112.8 kB / 1.366 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.3325, allocations: 107.9 kB / 1.366 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3325, allocations: 34.56 kB / 1.366 GB, free: 8.922 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.3325, allocations: 0 / 1.366 GB, free: 8.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0006461/0.3332, allocations: 374.9 kB / 1.366 GB, free: 8.551 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3332, allocations: 55.41 kB / 1.366 GB, free: 8.484 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.3337, allocations: 478 kB / 1.367 GB, free: 8.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3338, allocations: 33.7 kB / 1.367 GB, free: 7.969 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.334, allocations: 268.4 kB / 1.367 GB, free: 7.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.334, allocations: 103.2 kB / 1.367 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.3341, allocations: 70.02 kB / 1.367 GB, free: 7.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3343, allocations: 358.8 kB / 1.367 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3345, allocations: 96.59 kB / 1.367 GB, free: 7.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3347, allocations: 172 kB / 1.368 GB, free: 6.883 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.3351, allocations: 282.7 kB / 1.368 GB, free: 6.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3351, allocations: 0 / 1.368 GB, free: 6.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005575/0.3356, allocations: 369.1 kB / 1.368 GB, free: 6.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3356, allocations: 4 kB / 1.368 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3356, allocations: 7.938 kB / 1.368 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3357, allocations: 15.86 kB / 1.368 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3359, allocations: 71.91 kB / 1.368 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3359, allocations: 4 kB / 1.368 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3362, allocations: 31.73 kB / 1.368 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.3362, allocations: 24.2 kB / 1.368 GB, free: 6.059 MB / 1.061 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.0001862/0.3364, allocations: 181.6 kB / 1.369 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.3365, allocations: 51.67 kB / 1.369 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/0.3372, allocations: 477.8 kB / 1.369 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3373, allocations: 15.97 kB / 1.369 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3373, allocations: 3.984 kB / 1.369 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005839/0.3378, allocations: 0.5762 MB / 1.37 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.3395, allocations: 1.068 MB / 1.371 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3395, allocations: 0 / 1.371 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.3397, allocations: 51.91 kB / 1.371 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3397, allocations: 4 kB / 1.371 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3397, allocations: 8 kB / 1.371 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3397, allocations: 4 kB / 1.371 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3397, allocations: 192 / 1.371 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.3406, allocations: 0.6912 MB / 1.371 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.3408, allocations: 99.59 kB / 1.372 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.3408, allocations: 8 kB / 1.372 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3411, allocations: 15.98 kB / 1.372 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3411, allocations: 23.91 kB / 1.372 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3412, allocations: 19.98 kB / 1.372 GB, free: 2.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004179/0.3416, allocations: 350.8 kB / 1.372 GB, free: 2.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3416, allocations: 3.938 kB / 1.372 GB, free: 2.246 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005643/0.3421, allocations: 207.5 kB / 1.372 GB, free: 2.043 MB / 1.061 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.001455/0.3436, allocations: 1.389 MB / 1.373 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.3441, allocations: 283.7 kB / 1.374 GB, free: 340 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3441, allocations: 0 / 1.374 GB, free: 340 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.3443, allocations: 162.8 kB / 1.374 GB, free: 180 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.3457, allocations: 335.9 kB / 1.374 GB, free: 15.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.3509, allocations: 4.235 MB / 1.378 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.3514, allocations: 0.8627 MB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.3517, allocations: 120.7 kB / 1.379 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.3519, allocations: 191.4 kB / 1.379 GB, free: 10.25 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.3519, allocations: 0 / 1.379 GB, free: 10.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.4008, allocations: 17.37 MB / 1.396 GB, free: 9.203 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 11.97 kB / 1.396 GB, free: 9.191 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.189765655901283]