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.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.001328/0.001328, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001557/0.001557, allocations: 216.4 kB / 23.03 MB, free: 4.922 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.097/3.097, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",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.001955/0.001955, allocations: 63.73 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00619/0.3274, allocations: 3.891 MB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.3306, allocations: 2.224 MB / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.3308, allocations: 0 / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3311, allocations: 43.69 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.3314, allocations: 99.34 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.3328, allocations: 0.5574 MB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.3333, allocations: 255.9 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.3333, allocations: 13.73 kB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.3336, allocations: 119.5 kB / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3338, allocations: 99.58 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3338, allocations: 8 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.3347, allocations: 403.3 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.3347, allocations: 43.89 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3348, allocations: 75.72 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000732/0.3356, allocations: 407 kB / 1.353 GB, free: 7.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3356, allocations: 0 / 1.353 GB, free: 7.613 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3356, allocations: 0 / 1.353 GB, free: 7.613 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3356, allocations: 0 / 1.353 GB, free: 7.613 MB / 1.045 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.0008465/0.3364, allocations: 453.3 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3365, allocations: 12.03 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.3365, allocations: 4.516 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.3366, allocations: 50.73 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.3388, allocations: 184.6 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3391, allocations: 158.4 kB / 1.354 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.3391, allocations: 16.69 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.3391, allocations: 16.12 kB / 1.354 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.3399, allocations: 0.5017 MB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.34, allocations: 0 / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.34, allocations: 8 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.34, allocations: 4 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.3407, allocations: 263.6 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3425, allocations: 1.219 MB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.3432, allocations: 182.5 kB / 1.356 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3435, allocations: 76.75 kB / 1.356 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3435, allocations: 4 kB / 1.356 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3435, allocations: 38.5 kB / 1.356 GB, free: 4.203 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.3435, allocations: 0 / 1.356 GB, free: 4.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0008342/0.3444, allocations: 246.9 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3444, allocations: 55.41 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3446, allocations: 152.9 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3446, allocations: 29.7 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3447, allocations: 136.2 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.3448, allocations: 67.45 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3449, allocations: 53.88 kB / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3451, allocations: 330.8 kB / 1.357 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3453, allocations: 60.42 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.3456, allocations: 147.4 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.3461, allocations: 206.7 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3461, allocations: 4 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006337/0.3467, allocations: 250.8 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3468, allocations: 8 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3468, allocations: 4.297 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3468, allocations: 8 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.3472, allocations: 71.89 kB / 1.358 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3472, allocations: 4 kB / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3474, allocations: 31.83 kB / 1.358 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3475, allocations: 11.98 kB / 1.358 GB, free: 2.242 MB / 1.045 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.0001573/0.3476, allocations: 137.6 kB / 1.358 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.3477, allocations: 15.91 kB / 1.358 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.3484, allocations: 235.6 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3484, allocations: 4 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3484, allocations: 0 / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3484, allocations: 0 / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.3488, allocations: 212.5 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3488, allocations: 3.984 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.3491, allocations: 51.95 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3491, allocations: 0 / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3491, allocations: 7.938 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3491, allocations: 0 / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3491, allocations: 8 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.3497, allocations: 300.6 kB / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.3498, allocations: 23.88 kB / 1.359 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3498, allocations: 7.984 kB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3501, allocations: 15.98 kB / 1.359 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3501, allocations: 11.98 kB / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.3502, allocations: 15.98 kB / 1.359 GB, free: 1.137 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.368e-05/0.3503, allocations: 114.1 kB / 1.359 GB, free: 1.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3503, allocations: 0 / 1.359 GB, free: 1.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003627/0.3506, allocations: 63.94 kB / 1.359 GB, free: 0.9648 MB / 1.045 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.001016/0.3516, allocations: 0.862 MB / 1.36 GB, free: 80 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000566/0.3522, allocations: 174 kB / 1.36 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3522, allocations: 4 kB / 1.36 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.3524, allocations: 83.84 kB / 1.36 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3529, allocations: 51.95 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.3565, allocations: 2.189 MB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3566, allocations: 103.1 kB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000264/0.3568, allocations: 49.92 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.357, allocations: 51.36 kB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.357, allocations: 0 / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3847, allocations: 5.776 MB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 5.312 kB / 1.369 GB, free: 7.699 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.943252530996688]