Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004559/0.004559, allocations: 100.9 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 188.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2761, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005492/0.2816, allocations: 4.052 MB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2846, allocations: 2.438 MB / 1.248 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.2846, allocations: 4 kB / 1.248 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.2849, allocations: 43.69 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.2851, allocations: 99.34 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2862, allocations: 0.5203 MB / 1.249 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.2866, allocations: 259.9 kB / 1.249 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.2866, allocations: 13.56 kB / 1.249 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.2868, allocations: 119.5 kB / 1.249 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.287, allocations: 91.66 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.287, allocations: 8 kB / 1.249 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.2878, allocations: 463.1 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.2879, allocations: 31.91 kB / 1.249 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.288, allocations: 87.64 kB / 1.25 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.2887, allocations: 414.7 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2887, allocations: 4 kB / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2887, allocations: 0 / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2887, allocations: 0 / 1.25 GB, free: 1.512 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.0007439/0.2895, allocations: 0.5025 MB / 1.25 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2895, allocations: 8.031 kB / 1.25 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.234e-05/0.2896, allocations: 58.67 kB / 1.25 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.2916, allocations: 172.6 kB / 1.251 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2919, allocations: 216.1 kB / 1.251 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2919, allocations: 12.7 kB / 1.251 GB, free: 464 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.2919, allocations: 12.38 kB / 1.251 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.2926, allocations: 308.2 kB / 1.251 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2926, allocations: 0 / 1.251 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.2927, allocations: 15.98 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2927, allocations: 4 kB / 1.251 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4662/0.7589, allocations: 261.5 kB / 1.251 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.7603, allocations: 1.378 MB / 1.253 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.761, allocations: 193.2 kB / 1.253 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.7612, allocations: 79.12 kB / 1.253 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.7613, allocations: 5.703 kB / 1.253 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.7613, allocations: 46.36 kB / 1.253 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.7613, allocations: 2.344 kB / 1.253 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008153/0.7621, allocations: 248.3 kB / 1.253 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.7622, allocations: 56.44 kB / 1.253 GB, free: 14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7623, allocations: 153.3 kB / 1.254 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.7623, allocations: 30.64 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.7624, allocations: 127.2 kB / 1.254 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.7624, allocations: 67.58 kB / 1.254 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.7625, allocations: 54.73 kB / 1.254 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.7625, allocations: 325.4 kB / 1.254 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.7628, allocations: 64.91 kB / 1.254 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.763, allocations: 143.7 kB / 1.254 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.7635, allocations: 220.3 kB / 1.255 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7635, allocations: 0.9062 kB / 1.255 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006016/0.7641, allocations: 253.2 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7641, allocations: 6.125 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7642, allocations: 2.5 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7642, allocations: 4.312 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.7646, allocations: 69.72 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7646, allocations: 3.891 kB / 1.255 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.7648, allocations: 32.58 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.7648, allocations: 11.78 kB / 1.255 GB, free: 13.14 MB / 0.9981 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 8.43e-05/0.7649, allocations: 134.3 kB / 1.255 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.765, allocations: 20.53 kB / 1.255 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.7656, allocations: 227.4 kB / 1.255 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7656, allocations: 4.797 kB / 1.255 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7657, allocations: 1.672 kB / 1.255 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7657, allocations: 4.469 kB / 1.255 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.7659, allocations: 238.8 kB / 1.255 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7659, allocations: 0 / 1.255 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.7662, allocations: 50.33 kB / 1.256 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7662, allocations: 2.078 kB / 1.256 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.7663, allocations: 5.031 kB / 1.256 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7663, allocations: 2.141 kB / 1.256 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7663, allocations: 0 / 1.256 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.7668, allocations: 304 kB / 1.256 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.7669, allocations: 113.6 kB / 1.256 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.7669, allocations: 2.516 kB / 1.256 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7672, allocations: 16.97 kB / 1.256 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.7673, allocations: 14.27 kB / 1.256 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.7673, allocations: 14.55 kB / 1.256 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.7674, allocations: 114 kB / 1.256 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7674, allocations: 0 / 1.256 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003638/0.7677, allocations: 65.45 kB / 1.256 GB, free: 12.39 MB / 0.9981 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.0007839/0.7685, allocations: 0.8738 MB / 1.257 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.7691, allocations: 177.1 kB / 1.257 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7691, allocations: 1.312 kB / 1.257 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.7694, allocations: 98.41 kB / 1.257 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.7699, allocations: 55.95 kB / 1.257 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.7727, allocations: 2.168 MB / 1.259 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.7728, allocations: 0.7202 MB / 1.26 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.7731, allocations: 50.61 kB / 1.26 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.7732, allocations: 47.19 kB / 1.26 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.7732, allocations: 0.875 kB / 1.26 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.7991, allocations: 5.207 MB / 1.265 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.668, allocations: 8.344 kB / 1.265 GB, free: 8.629 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches