Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.002581/0.002581, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 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.003382/0.003382, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 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.405/3.405, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 1.094 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.605e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.01196/0.01199, allocations: 3.869 MB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000462/0.01246, allocations: 155.4 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.01249, allocations: 4 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.01263, allocations: 7.922 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.01273, allocations: 3.938 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.0133, allocations: 89.48 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.01342, allocations: 35.84 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.01346, allocations: 5.469 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.01356, allocations: 19.97 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.01366, allocations: 11.98 kB / 0.8815 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.01368, allocations: 7.938 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.01463, allocations: 183.4 kB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.01468, allocations: 7.984 kB / 0.8817 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.01472, allocations: 4 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.01502, allocations: 71.73 kB / 0.8818 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.01502, allocations: 0 / 0.8818 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01503, allocations: 0 / 0.8818 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.01503, allocations: 0 / 0.8818 GB, free: 2.234 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006876/0.01572, allocations: 364.2 kB / 0.8821 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.01577, allocations: 8.031 kB / 0.8821 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.01585, allocations: 8.938 kB / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.01604, allocations: 108.6 kB / 0.8822 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.01617, allocations: 55.97 kB / 0.8823 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.01619, allocations: 384 / 0.8823 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.01643, allocations: 67.95 kB / 0.8824 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01644, allocations: 192 / 0.8824 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.01646, allocations: 3.938 kB / 0.8824 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.0165, allocations: 3.984 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.01658, allocations: 11.94 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.01732, allocations: 255.8 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.01741, allocations: 31.06 kB / 0.8826 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.01746, allocations: 15.61 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.01756, allocations: 16.05 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.01761, allocations: 33.39 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.01761, allocations: 0 / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002681/0.01788, allocations: 41.59 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.01794, allocations: 51.41 kB / 0.8828 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.01816, allocations: 165.9 kB / 0.883 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.01819, allocations: 29.7 kB / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.01833, allocations: 135 kB / 0.8831 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.01834, allocations: 0 / 0.8831 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.01841, allocations: 27.36 kB / 0.8831 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000396/0.01881, allocations: 492.1 kB / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.01883, allocations: 4 kB / 0.8836 GB, free: 136 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.01889, allocations: 27.31 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.01898, allocations: 31.3 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01898, allocations: 0 / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000159/0.01914, allocations: 53.7 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.01917, allocations: 12.22 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01918, allocations: 0 / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01919, allocations: 4 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.01926, allocations: 8 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.01927, allocations: 0 / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.0193, allocations: 0 / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01932, allocations: 4 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001792/0.0195, allocations: 156.6 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.01956, allocations: 7.938 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.0198, allocations: 171.7 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004443/0.02024, allocations: 268.1 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002248/0.02047, allocations: 264.1 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002308/0.0207, allocations: 272.1 kB / 0.8848 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.02126, allocations: 0.4921 MB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001329/0.02139, allocations: 148.8 kB / 0.8855 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.02151, allocations: 144.9 kB / 0.8856 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.02175, allocations: 276 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/0.02197, allocations: 268 kB / 0.8861 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002249/0.0222, allocations: 268.1 kB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002297/0.02243, allocations: 272 kB / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.02287, allocations: 448 kB / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.02303, allocations: 160.7 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.02329, allocations: 264.1 kB / 0.8875 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.02358, allocations: 156.8 kB / 0.8876 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.0238, allocations: 268.1 kB / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.02393, allocations: 144.9 kB / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001408/0.02407, allocations: 131.1 kB / 0.8881 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.02407, allocations: 0 / 0.8881 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004801/0.02455, allocations: 15.94 kB / 0.8881 GB, free: 11.27 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.0003827/0.02493, allocations: 246.3 kB / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.02505, allocations: 15.62 kB / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.02505, allocations: 0 / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.02506, allocations: 0 / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.02608, allocations: 0.714 MB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.02655, allocations: 225.6 kB / 0.8893 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.02666, allocations: 59.34 kB / 0.8894 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.13e-05/0.02673, allocations: 8.125 kB / 0.8894 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.02677, allocations: 8.5 kB / 0.8894 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.02677, allocations: 0 / 0.8894 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.005848/0.03262, allocations: 0.7012 MB / 0.8901 GB, free: 9.254 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 8.647651350009255]