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.0007976/0.0007976, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000785/0.000785, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8294/0.8294, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.677/1.677, allocations: 377.9 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.416e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003602/0.003616, allocations: 3.898 MB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.005285, allocations: 2.227 MB / 0.987 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.005361, allocations: 0 / 0.987 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.005587, allocations: 51.56 kB / 0.987 GB, free: 12.32 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.005802, allocations: 95.34 kB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.006728, allocations: 0.5699 MB / 0.9877 GB, free: 11.66 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.006983, allocations: 263.7 kB / 0.9879 GB, free: 11.4 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.007021, allocations: 17.73 kB / 0.988 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.007212, allocations: 159.5 kB / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.007312, allocations: 75.78 kB / 0.9882 GB, free: 11.15 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.007331, allocations: 8 kB / 0.9882 GB, free: 11.14 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.007834, allocations: 399.1 kB / 0.9886 GB, free: 10.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.007903, allocations: 47.81 kB / 0.9886 GB, free: 10.71 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.007963, allocations: 63.89 kB / 0.9887 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.008566, allocations: 442.7 kB / 0.9891 GB, free: 10.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.008568, allocations: 0 / 0.9891 GB, free: 10.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008569, allocations: 0 / 0.9891 GB, free: 10.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.008573, allocations: 0 / 0.9891 GB, free: 10.21 MB / 0.948 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.0005444/0.009117, allocations: 453.4 kB / 0.9895 GB, free: 9.734 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.009153, allocations: 8.031 kB / 0.9895 GB, free: 9.727 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.009192, allocations: 50.73 kB / 0.9896 GB, free: 9.668 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.01017, allocations: 188.6 kB / 0.9898 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.01038, allocations: 157.5 kB / 0.9899 GB, free: 9.305 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.0104, allocations: 12.7 kB / 0.9899 GB, free: 9.293 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.01043, allocations: 24.38 kB / 0.9899 GB, free: 9.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.01087, allocations: 0.5023 MB / 0.9904 GB, free: 8.684 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01088, allocations: 8.125 kB / 0.9904 GB, free: 8.676 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.0109, allocations: 7.938 kB / 0.9905 GB, free: 8.668 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.01092, allocations: 11.94 kB / 0.9905 GB, free: 8.656 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.01131, allocations: 255.6 kB / 0.9907 GB, free: 8.406 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.01228, allocations: 1.196 MB / 0.9919 GB, free: 7.133 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.01267, allocations: 186.5 kB / 0.9921 GB, free: 6.941 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.01279, allocations: 72.75 kB / 0.9921 GB, free: 6.867 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01281, allocations: 0 / 0.9921 GB, free: 6.867 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.01283, allocations: 38.56 kB / 0.9922 GB, free: 6.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 9.92e-07/0.01283, allocations: 0 / 0.9922 GB, free: 6.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0004476/0.01328, allocations: 255.5 kB / 0.9924 GB, free: 6.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.0133, allocations: 51.41 kB / 0.9925 GB, free: 6.504 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.0134, allocations: 164.3 kB / 0.9926 GB, free: 6.336 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.01342, allocations: 25.7 kB / 0.9926 GB, free: 6.305 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.01347, allocations: 132.3 kB / 0.9928 GB, free: 6.172 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.01351, allocations: 63.44 kB / 0.9928 GB, free: 6.109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01356, allocations: 53.92 kB / 0.9929 GB, free: 6.047 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.01364, allocations: 322.8 kB / 0.9932 GB, free: 5.723 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01375, allocations: 64.42 kB / 0.9932 GB, free: 5.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.0139, allocations: 135.5 kB / 0.9934 GB, free: 5.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.01417, allocations: 217.2 kB / 0.9936 GB, free: 5.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01418, allocations: 0 / 0.9936 GB, free: 5.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003344/0.01451, allocations: 262.6 kB / 0.9938 GB, free: 4.988 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01452, allocations: 8 kB / 0.9938 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01453, allocations: 0 / 0.9938 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01454, allocations: 4 kB / 0.9938 GB, free: 4.977 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01471, allocations: 72.2 kB / 0.9939 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01472, allocations: 7.984 kB / 0.9939 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01482, allocations: 31.78 kB / 0.9939 GB, free: 4.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01484, allocations: 15.98 kB / 0.994 GB, free: 4.852 MB / 0.948 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.359e-05/0.01492, allocations: 128.2 kB / 0.9941 GB, free: 4.719 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.01495, allocations: 19.84 kB / 0.9941 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.0153, allocations: 229.2 kB / 0.9943 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.0153, allocations: 4 kB / 0.9943 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.0153, allocations: 0 / 0.9943 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01531, allocations: 7.984 kB / 0.9943 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.01548, allocations: 208.6 kB / 0.9945 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01548, allocations: 3.938 kB / 0.9945 GB, free: 4.207 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01562, allocations: 51.89 kB / 0.9946 GB, free: 4.156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01562, allocations: 4 kB / 0.9946 GB, free: 4.152 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01563, allocations: 4 kB / 0.9946 GB, free: 4.148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01563, allocations: 0 / 0.9946 GB, free: 4.148 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01563, allocations: 4 kB / 0.9946 GB, free: 4.145 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.01593, allocations: 291.3 kB / 0.9949 GB, free: 3.844 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.01598, allocations: 39.78 kB / 0.9949 GB, free: 3.805 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.016, allocations: 3.938 kB / 0.9949 GB, free: 3.801 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01612, allocations: 15.98 kB / 0.9949 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.01614, allocations: 11.94 kB / 0.9949 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.01615, allocations: 19.98 kB / 0.995 GB, free: 3.754 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.0162, allocations: 114.1 kB / 0.9951 GB, free: 3.645 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.0162, allocations: 4 kB / 0.9951 GB, free: 3.641 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002308/0.01643, allocations: 63.94 kB / 0.9951 GB, free: 3.578 MB / 0.948 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.0005559/0.01699, allocations: 0.8696 MB / 0.996 GB, free: 2.688 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.01728, allocations: 170.3 kB / 0.9961 GB, free: 2.523 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01728, allocations: 0.625 kB / 0.9961 GB, free: 2.523 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.0174, allocations: 83.89 kB / 0.9962 GB, free: 2.441 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.01768, allocations: 52.19 kB / 0.9963 GB, free: 2.391 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.01955, allocations: 2.144 MB / 0.9984 GB, free: 104 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.01962, allocations: 103.1 kB / 0.9985 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.01978, allocations: 57.86 kB / 0.9985 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.01987, allocations: 44.48 kB / 0.9986 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01987, allocations: 0 / 0.9986 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.03603, allocations: 6.184 MB / 1.005 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/6.566, allocations: 11.27 kB / 1.005 GB, free: 9.949 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.376672808080912]