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.001787/0.001787, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.002118/0.002118, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.386/1.386, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.013/3.013, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.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.002007/0.002007, allocations: 69.73 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006898/0.3209, allocations: 4.141 MB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3245, allocations: 2.449 MB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.3247, allocations: 0 / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.325, allocations: 47.67 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.3255, allocations: 107.3 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.3276, allocations: 0.5312 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.3281, allocations: 267.8 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.3282, allocations: 5.562 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3284, allocations: 119.5 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3286, allocations: 95.64 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3286, allocations: 8 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.3298, allocations: 475.2 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.3299, allocations: 43.83 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.33, allocations: 87.58 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.3308, allocations: 419 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.3308, allocations: 4 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-05/0.3308, allocations: 4 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3308, allocations: 0 / 1.329 GB, free: 10.46 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.0008648/0.3317, allocations: 0.5064 MB / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3318, allocations: 11.98 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.3318, allocations: 54.67 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.3339, allocations: 192.6 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3342, allocations: 216.1 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3343, allocations: 8.703 kB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.3343, allocations: 16.38 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.335, allocations: 308.2 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.335, allocations: 4 kB / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.335, allocations: 12 kB / 1.331 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.3351, allocations: 4 kB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.3358, allocations: 263.5 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3375, allocations: 1.396 MB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.3382, allocations: 187.1 kB / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3384, allocations: 68.81 kB / 1.333 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3385, allocations: 8 kB / 1.333 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3385, allocations: 30.56 kB / 1.333 GB, free: 6.938 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.3385, allocations: 8 kB / 1.333 GB, free: 6.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008461/0.3393, allocations: 243.2 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3394, allocations: 55.41 kB / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3395, allocations: 156 kB / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.3396, allocations: 33.7 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.3397, allocations: 136.2 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3397, allocations: 63.44 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.3398, allocations: 49.92 kB / 1.333 GB, free: 6.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.34, allocations: 330.7 kB / 1.334 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3402, allocations: 64.42 kB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.3405, allocations: 143 kB / 1.334 GB, free: 5.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.341, allocations: 217.2 kB / 1.334 GB, free: 5.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.341, allocations: 0 / 1.334 GB, free: 5.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000629/0.3416, allocations: 255.3 kB / 1.334 GB, free: 5.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3417, allocations: 8 kB / 1.334 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3417, allocations: 4 kB / 1.334 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3417, allocations: 7.984 kB / 1.334 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.342, allocations: 67.89 kB / 1.334 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.342, allocations: 11.88 kB / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3423, allocations: 31.83 kB / 1.334 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3423, allocations: 11.98 kB / 1.334 GB, free: 4.957 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.0001278/0.3424, allocations: 137.7 kB / 1.335 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.3425, allocations: 15.91 kB / 1.335 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.3432, allocations: 226.7 kB / 1.335 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3432, allocations: 4 kB / 1.335 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3432, allocations: 0 / 1.335 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3432, allocations: 0 / 1.335 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.3435, allocations: 241.5 kB / 1.335 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3435, allocations: 0 / 1.335 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.3438, allocations: 47.91 kB / 1.335 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3438, allocations: 0 / 1.335 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3438, allocations: 11.98 kB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3439, allocations: 0 / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3439, allocations: 0 / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.3444, allocations: 298.2 kB / 1.335 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3445, allocations: 112.9 kB / 1.335 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.3446, allocations: 4 kB / 1.335 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.3448, allocations: 19.98 kB / 1.335 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3449, allocations: 7.984 kB / 1.335 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.3449, allocations: 19.92 kB / 1.336 GB, free: 3.734 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.964e-05/0.345, allocations: 112.9 kB / 1.336 GB, free: 3.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.345, allocations: 0 / 1.336 GB, free: 3.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003768/0.3454, allocations: 63.94 kB / 1.336 GB, free: 3.562 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.001056/0.3464, allocations: 0.8721 MB / 1.337 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.347, allocations: 170.3 kB / 1.337 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.347, allocations: 4 kB / 1.337 GB, free: 2.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.3472, allocations: 79.89 kB / 1.337 GB, free: 2.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3477, allocations: 65.91 kB / 1.337 GB, free: 2.359 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.3511, allocations: 2.165 MB / 1.339 GB, free: 56 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3515, allocations: 0.7173 MB / 1.34 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000244/0.3518, allocations: 53.91 kB / 1.34 GB, free: 15.26 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3519, allocations: 43.42 kB / 1.34 GB, free: 15.21 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3519, allocations: 0 / 1.34 GB, free: 15.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.3813, allocations: 5.227 MB / 1.345 GB, free: 10.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.335, allocations: 6.609 kB / 1.345 GB, free: 10.16 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.57710106507875]