Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001274/0.001274, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001443/0.001443, allocations: 224.6 kB / 22.25 MB, free: 5.102 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.812 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.359/3.359, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterProperties",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.002081/0.002081, allocations: 64.59 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00619/0.3531, allocations: 4.508 MB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3562, allocations: 2.469 MB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.3563, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3566, allocations: 47.64 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3568, allocations: 99.34 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3582, allocations: 0.5212 MB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.3585, allocations: 231.9 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.3585, allocations: 9.75 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.3587, allocations: 115.6 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3589, allocations: 99.58 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3589, allocations: 8 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006314/0.3596, allocations: 319.4 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.3596, allocations: 35.89 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.3597, allocations: 79.7 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.3603, allocations: 347.1 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3603, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3603, allocations: 4 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3603, allocations: 0 / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007956/0.3611, allocations: 449.3 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3612, allocations: 16.02 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.3612, allocations: 42.75 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3614, allocations: 28.83 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3617, allocations: 158.3 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.3617, allocations: 12.7 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3617, allocations: 12.38 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.3623, allocations: 491.2 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3623, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3623, allocations: 8 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.3624, allocations: 15.94 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/0.3629, allocations: 423.5 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3641, allocations: 0.8086 MB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3644, allocations: 149.7 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3645, allocations: 56.78 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/0.3653, allocations: 459.9 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3653, allocations: 34.56 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.3653, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004612/0.3658, allocations: 151 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3658, allocations: 55.34 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.366, allocations: 175.2 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.366, allocations: 33.69 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.3661, allocations: 144.1 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3662, allocations: 51.53 kB / 1.338 GB, free: 4.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.3663, allocations: 53.66 kB / 1.338 GB, free: 4.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3664, allocations: 322.8 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.3665, allocations: 39.97 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3666, allocations: 137.7 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3669, allocations: 204.2 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3669, allocations: 4 kB / 1.339 GB, free: 3.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003447/0.3672, allocations: 213.3 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3672, allocations: 8 kB / 1.339 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3672, allocations: 4 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3673, allocations: 7.938 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3675, allocations: 59.91 kB / 1.339 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3675, allocations: 11.94 kB / 1.339 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3676, allocations: 27.78 kB / 1.339 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.3676, allocations: 16.31 kB / 1.339 GB, free: 3.336 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001202/0.3677, allocations: 142.2 kB / 1.339 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.3678, allocations: 15.91 kB / 1.339 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.3681, allocations: 154.9 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3681, allocations: 3.938 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3681, allocations: 0 / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3681, allocations: 0 / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3684, allocations: 184.6 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3684, allocations: 4 kB / 1.34 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3685, allocations: 27.92 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3685, allocations: 4 kB / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3685, allocations: 8 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3685, allocations: 3.938 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3685, allocations: 0 / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3688, allocations: 218.1 kB / 1.34 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3689, allocations: 31.81 kB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3689, allocations: 8 kB / 1.34 GB, free: 2.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3691, allocations: 15.92 kB / 1.34 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.3691, allocations: 11.98 kB / 1.34 GB, free: 2.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3692, allocations: 11.98 kB / 1.34 GB, free: 2.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.526e-05/0.3693, allocations: 116.9 kB / 1.34 GB, free: 2.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3693, allocations: 4 kB / 1.34 GB, free: 2.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004297/0.3697, allocations: 87.81 kB / 1.34 GB, free: 2.23 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007951/0.3705, allocations: 0.8253 MB / 1.341 GB, free: 1.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3707, allocations: 116 kB / 1.341 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3707, allocations: 3.938 kB / 1.341 GB, free: 1.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.3708, allocations: 43.06 kB / 1.341 GB, free: 1.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3712, allocations: 62.59 kB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3737, allocations: 2.048 MB / 1.343 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.76e-05/0.3738, allocations: 99.22 kB / 1.343 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.3739, allocations: 45.75 kB / 1.343 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.374, allocations: 47.42 kB / 1.343 GB, free: 14.73 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.374, allocations: 8 kB / 1.343 GB, free: 14.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.4076, allocations: 6.173 MB / 1.349 GB, free: 8.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 14.75 kB / 1.349 GB, free: 8.746 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterProperties.fmu > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.654733111994574]