Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001433/0.001433, 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.002793/0.002793, allocations: 219.9 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.996 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.385/3.385, allocations: 0.49 GB / 0.7951 GB, free: 33.2 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001998/0.001998, allocations: 64.02 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007915/0.3488, allocations: 4.162 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.3524, allocations: 2.461 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3526, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3529, allocations: 55.67 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.3533, allocations: 99.34 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3549, allocations: 0.5403 MB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.3554, allocations: 267.8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.3554, allocations: 5.75 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.3557, allocations: 123.5 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.3559, allocations: 95.64 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3559, allocations: 8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3569, allocations: 487.2 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.357, allocations: 35.83 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3571, allocations: 87.64 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.3581, allocations: 415 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3581, allocations: 3.938 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3581, allocations: 0 / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3581, allocations: 3.938 kB / 1.335 GB, free: 9.047 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.0008969/0.359, allocations: 457.3 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.359, allocations: 8.031 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.3591, allocations: 54.73 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.3613, allocations: 192.6 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.3617, allocations: 154.3 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.3617, allocations: 12.7 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.3618, allocations: 16.38 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.3625, allocations: 304.2 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3625, allocations: 0 / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.3625, allocations: 12 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.3626, allocations: 8 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.3633, allocations: 263.5 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3652, allocations: 1.36 MB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.3658, allocations: 186.4 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.366, allocations: 68.81 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3661, allocations: 4 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3661, allocations: 38.56 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3661, allocations: 0 / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008164/0.3669, allocations: 247 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.367, allocations: 59.34 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3671, allocations: 156.6 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3672, allocations: 29.7 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.3673, allocations: 136.1 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.3673, allocations: 67.42 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.3674, allocations: 49.94 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3676, allocations: 330.8 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.3678, allocations: 64.42 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3681, allocations: 142.3 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.3686, allocations: 214.6 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3686, allocations: 4 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006241/0.3692, allocations: 249.2 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3692, allocations: 9.875 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3693, allocations: 4 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3693, allocations: 4 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3696, allocations: 67.89 kB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.3697, allocations: 11.92 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.3699, allocations: 27.83 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3699, allocations: 12 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001594/0.3701, allocations: 145.5 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.3702, allocations: 19.91 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.3708, allocations: 227.8 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3708, allocations: 0 / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.3708, allocations: 7.984 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3708, allocations: 0 / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.3711, allocations: 212.5 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3711, allocations: 4 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3714, allocations: 43.91 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3714, allocations: 0 / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3715, allocations: 12 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3715, allocations: 3.938 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3715, allocations: 0 / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.372, allocations: 304.6 kB / 1.34 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.3721, allocations: 23.88 kB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3722, allocations: 8 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3724, allocations: 19.98 kB / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.3725, allocations: 7.984 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3725, allocations: 11.98 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.3726, allocations: 115.2 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3726, allocations: 0 / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003725/0.373, allocations: 67.88 kB / 1.341 GB, free: 2.461 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 (20): * Single equations (assignments): 20 * 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.0009638/0.3739, allocations: 0.8699 MB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.3744, allocations: 167.7 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3744, allocations: 4.625 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3747, allocations: 81.44 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3751, allocations: 55.89 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.3785, allocations: 2.168 MB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3789, allocations: 0.7211 MB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.3792, allocations: 53.91 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3793, allocations: 51.41 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3793, allocations: 0 / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.4133, allocations: 5.462 MB / 1.35 GB, free: 8.828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.98, allocations: 3.984 kB / 1.35 GB, free: 8.824 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 19.053144704084843]