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.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.001094/0.001094, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001503/0.001503, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9149/0.9149, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.698/1.698, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.184e-06/2.184e-06, allocations: 0 / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/2.019e-05, allocations: 5.516 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00417/0.00419, allocations: 3.896 MB / 0.9544 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.005828, allocations: 2.219 MB / 0.9565 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.005899, allocations: 8 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.006139, allocations: 47.62 kB / 0.9566 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.006351, allocations: 99.28 kB / 0.9567 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.007063, allocations: 0.5688 MB / 0.9572 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.007275, allocations: 267.7 kB / 0.9575 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.007309, allocations: 5.812 kB / 0.9575 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.007478, allocations: 159.5 kB / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.007578, allocations: 83.77 kB / 0.9577 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.007596, allocations: 8 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.008004, allocations: 403 kB / 0.9581 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.008071, allocations: 43.83 kB / 0.9582 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.008123, allocations: 63.88 kB / 0.9582 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.008539, allocations: 442.7 kB / 0.9586 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008541, allocations: 0 / 0.9586 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.92e-07/0.008542, allocations: 4 kB / 0.9586 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.008547, allocations: 3.938 kB / 0.9586 GB, free: 11.1 MB / 0.9167 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.0005564/0.009103, allocations: 445.4 kB / 0.9591 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.00914, allocations: 12.03 kB / 0.9591 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.00925, allocations: 50.73 kB / 0.9591 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.01022, allocations: 192.6 kB / 0.9593 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.0104, allocations: 145.6 kB / 0.9595 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.01042, allocations: 12.7 kB / 0.9595 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.01045, allocations: 16.36 kB / 0.9595 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.01089, allocations: 0.5062 MB / 0.96 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.0109, allocations: 4.125 kB / 0.96 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.01092, allocations: 15.94 kB / 0.96 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.01094, allocations: 7.984 kB / 0.96 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.01133, allocations: 259.6 kB / 0.9602 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.01223, allocations: 1.196 MB / 0.9614 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.01261, allocations: 182.5 kB / 0.9616 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01273, allocations: 72.75 kB / 0.9617 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01275, allocations: 4 kB / 0.9617 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.01277, allocations: 38.56 kB / 0.9617 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.01277, allocations: 0 / 0.9617 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0004489/0.01322, allocations: 251.3 kB / 0.9619 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.01324, allocations: 51.41 kB / 0.962 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.01334, allocations: 168.8 kB / 0.9621 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01336, allocations: 25.7 kB / 0.9622 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.01341, allocations: 136.2 kB / 0.9623 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.01344, allocations: 63.44 kB / 0.9624 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.0135, allocations: 41.94 kB / 0.9624 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.01357, allocations: 330.8 kB / 0.9627 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01369, allocations: 68.42 kB / 0.9628 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.01384, allocations: 138.3 kB / 0.9629 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.0141, allocations: 217.2 kB / 0.9631 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.0141, allocations: 0 / 0.9631 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003266/0.01443, allocations: 263.3 kB / 0.9634 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01444, allocations: 4 kB / 0.9634 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01445, allocations: 8 kB / 0.9634 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01446, allocations: 4 kB / 0.9634 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.01463, allocations: 67.89 kB / 0.9635 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01464, allocations: 4.312 kB / 0.9635 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01475, allocations: 35.83 kB / 0.9635 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01476, allocations: 11.98 kB / 0.9635 GB, free: 5.746 MB / 0.9167 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 7.508e-05/0.01484, allocations: 133.7 kB / 0.9636 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.01487, allocations: 19.84 kB / 0.9637 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.01522, allocations: 232.8 kB / 0.9639 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01522, allocations: 0 / 0.9639 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01523, allocations: 4 kB / 0.9639 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01523, allocations: 0 / 0.9639 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01539, allocations: 204.6 kB / 0.9641 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0154, allocations: 3.938 kB / 0.9641 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.01554, allocations: 59.89 kB / 0.9641 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01554, allocations: 3.984 kB / 0.9641 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01555, allocations: 4 kB / 0.9641 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01555, allocations: 0 / 0.9641 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01555, allocations: 0 / 0.9641 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.01586, allocations: 287.4 kB / 0.9644 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.01591, allocations: 39.69 kB / 0.9645 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.01593, allocations: 11.98 kB / 0.9645 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01605, allocations: 15.98 kB / 0.9645 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.01607, allocations: 7.984 kB / 0.9645 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.01609, allocations: 15.98 kB / 0.9645 GB, free: 4.652 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.01614, allocations: 111.2 kB / 0.9646 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01614, allocations: 0 / 0.9646 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002204/0.01636, allocations: 67.89 kB / 0.9647 GB, free: 4.477 MB / 0.9167 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.0005558/0.01691, allocations: 0.859 MB / 0.9655 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01721, allocations: 175.7 kB / 0.9657 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01721, allocations: 4 kB / 0.9657 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.01733, allocations: 75.89 kB / 0.9658 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.01765, allocations: 72.41 kB / 0.9658 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.01964, allocations: 2.135 MB / 0.9679 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.582e-05/0.01971, allocations: 110.9 kB / 0.968 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.01986, allocations: 49.88 kB / 0.9681 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.01995, allocations: 52.47 kB / 0.9681 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.01995, allocations: 0 / 0.9681 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.03834, allocations: 6.178 MB / 0.9741 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.152, allocations: 6.703 kB / 0.9742 GB, free: 10.84 MB / 0.9323 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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/jenkins/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: 11.219004240818322]