Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 67.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8306, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004999/0.8356, allocations: 4.114 MB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.838, allocations: 2.438 MB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.838, allocations: 1.594 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.8383, allocations: 50.98 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.8386, allocations: 102.1 kB / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.8397, allocations: 0.5373 MB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.84, allocations: 262.3 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.8401, allocations: 10.77 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.8403, allocations: 121.9 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.8404, allocations: 96.77 kB / 1.279 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.8405, allocations: 12.56 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008178/0.8413, allocations: 459.6 kB / 1.279 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.8413, allocations: 45.58 kB / 1.279 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.8414, allocations: 79.12 kB / 1.28 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.8421, allocations: 419.6 kB / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8421, allocations: 0 / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8421, allocations: 0 / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.8421, allocations: 1.484 kB / 1.28 GB, free: 2.137 MB / 0.9981 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.0006571/0.8428, allocations: 0.504 MB / 1.28 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8428, allocations: 9.281 kB / 1.28 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.8428, allocations: 53.02 kB / 1.28 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.8447, allocations: 175.2 kB / 1.281 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.8449, allocations: 215.9 kB / 1.281 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.8449, allocations: 11.58 kB / 1.281 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.845, allocations: 18.31 kB / 1.281 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.8456, allocations: 316.2 kB / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8456, allocations: 5.406 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.8457, allocations: 6.562 kB / 1.281 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.8457, allocations: 5.219 kB / 1.281 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.8464, allocations: 263.2 kB / 1.281 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.8477, allocations: 1.385 MB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.8484, allocations: 185.3 kB / 1.283 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.8486, allocations: 74.34 kB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8486, allocations: 0 / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8487, allocations: 45.81 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 9.71e-07/0.8487, allocations: 0 / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0007604/0.8494, allocations: 245.8 kB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.8495, allocations: 54.41 kB / 1.283 GB, free: 15.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.8496, allocations: 159.5 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.8496, allocations: 29.7 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.8497, allocations: 134.6 kB / 1.284 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.8498, allocations: 62.08 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.8499, allocations: 49.62 kB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.85, allocations: 330.5 kB / 1.284 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.8502, allocations: 65.89 kB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.8505, allocations: 143.9 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.8509, allocations: 217 kB / 1.285 GB, free: 14.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8509, allocations: 0 / 1.285 GB, free: 14.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005855/0.8515, allocations: 255 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8515, allocations: 6.812 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8515, allocations: 1.562 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8516, allocations: 6.922 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.8519, allocations: 67.2 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8519, allocations: 2.656 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.8521, allocations: 30.5 kB / 1.285 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.8521, allocations: 13.58 kB / 1.285 GB, free: 14.43 MB / 1.014 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.0001225/0.8523, allocations: 140.8 kB / 1.285 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.8523, allocations: 11.42 kB / 1.285 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.8529, allocations: 230.8 kB / 1.285 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8529, allocations: 5.625 kB / 1.285 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8529, allocations: 2.125 kB / 1.285 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8529, allocations: 5.297 kB / 1.285 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.8532, allocations: 246.9 kB / 1.286 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8532, allocations: 4 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.8535, allocations: 43.69 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8535, allocations: 1.359 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.8535, allocations: 2.734 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8535, allocations: 1.312 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8535, allocations: 0.75 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.8541, allocations: 306.4 kB / 1.286 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.8542, allocations: 109 kB / 1.286 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.8542, allocations: 1.844 kB / 1.286 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.8545, allocations: 19.72 kB / 1.286 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.8545, allocations: 11.83 kB / 1.286 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.8546, allocations: 10.5 kB / 1.286 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.46e-05/0.8546, allocations: 118.7 kB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.8546, allocations: 6.281 kB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003456/0.855, allocations: 59.27 kB / 1.286 GB, free: 13.52 MB / 1.014 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.0009409/0.8559, allocations: 0.8601 MB / 1.287 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.8565, allocations: 184.9 kB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8565, allocations: 3.984 kB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.8567, allocations: 78.86 kB / 1.287 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.8572, allocations: 59.5 kB / 1.287 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.8604, allocations: 2.179 MB / 1.289 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.8607, allocations: 0.7145 MB / 1.29 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.8609, allocations: 53.72 kB / 1.29 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.8611, allocations: 49.8 kB / 1.29 GB, free: 10.29 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8611, allocations: 0 / 1.29 GB, free: 10.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.8908, allocations: 5.222 MB / 1.295 GB, free: 9.637 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.981, allocations: 4.656 kB / 1.295 GB, free: 9.633 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.277129415999298]