Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000779/0.000779, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008391/0.0008391, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9045/0.9045, allocations: 177.2 MB / 203.5 MB, free: 5.738 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.775/1.775, allocations: 377.8 MB / 0.6228 GB, free: 8.652 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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9821 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.739e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003813/0.00384, allocations: 3.635 MB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.003969, allocations: 135.5 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.003991, allocations: 4 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004099, allocations: 7.922 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.004176, allocations: 11.92 kB / 0.9859 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.004561, allocations: 85.8 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.004641, allocations: 31.86 kB / 0.986 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.004688, allocations: 7.984 kB / 0.986 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.004738, allocations: 15.92 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.004807, allocations: 15.98 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.004821, allocations: 0 / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.005274, allocations: 219.2 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.005317, allocations: 0 / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.005337, allocations: 7.984 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.005468, allocations: 71.8 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005471, allocations: 0 / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005472, allocations: 0 / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.005477, allocations: 0 / 0.9863 GB, free: 13.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003355/0.005813, allocations: 270.3 kB / 0.9866 GB, free: 13.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.005847, allocations: 8.031 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.005884, allocations: 4.938 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.005969, allocations: 101.8 kB / 0.9867 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.006032, allocations: 55.97 kB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.00604, allocations: 384 / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.00617, allocations: 75.88 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.006178, allocations: 192 / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.00619, allocations: 11.88 kB / 0.9868 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.006207, allocations: 0 / 0.9868 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.006244, allocations: 11.98 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.006568, allocations: 212.6 kB / 0.987 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.776e-05/0.006606, allocations: 22.52 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.00662, allocations: 8.797 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.006662, allocations: 12.06 kB / 0.9871 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.006684, allocations: 30.56 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.006685, allocations: 0 / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.006813, allocations: 33.69 kB / 0.9871 GB, free: 12.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.006839, allocations: 55.41 kB / 0.9872 GB, free: 12.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.006902, allocations: 102 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006914, allocations: 25.7 kB / 0.9873 GB, free: 12.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.006953, allocations: 92.08 kB / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/0.006958, allocations: 3.953 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.006984, allocations: 25.59 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.007061, allocations: 310.8 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.007076, allocations: 7.984 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.007096, allocations: 17.72 kB / 0.9877 GB, free: 12.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.007124, allocations: 17.72 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007127, allocations: 4 kB / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.87e-05/0.007185, allocations: 53.56 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007197, allocations: 4 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.007205, allocations: 4 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.007218, allocations: 0 / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.007257, allocations: 4 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007262, allocations: 0 / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.007276, allocations: 7.984 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.007285, allocations: 4 kB / 0.9878 GB, free: 12.11 MB / 0.948 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 5.44e-05/0.007339, allocations: 113.8 kB / 0.9879 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.007353, allocations: 11.94 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.007447, allocations: 120.9 kB / 0.9881 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/0.007487, allocations: 184.2 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/0.007526, allocations: 180.2 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/0.007564, allocations: 180.3 kB / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.007692, allocations: 356.9 kB / 0.9889 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.007716, allocations: 108.9 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.007738, allocations: 101 kB / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-05/0.007779, allocations: 188.1 kB / 0.9893 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.007819, allocations: 180.3 kB / 0.9895 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-05/0.00786, allocations: 184.2 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.093e-05/0.007901, allocations: 180.3 kB / 0.9898 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.007999, allocations: 307.7 kB / 0.9901 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.008027, allocations: 108.9 kB / 0.9902 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.008076, allocations: 184.2 kB / 0.9904 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.008172, allocations: 109 kB / 0.9905 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.008215, allocations: 180.5 kB / 0.9907 GB, free: 9.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.008238, allocations: 108.9 kB / 0.9908 GB, free: 8.906 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.008271, allocations: 83.28 kB / 0.9908 GB, free: 8.824 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008271, allocations: 0 / 0.9908 GB, free: 8.824 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001691/0.00844, allocations: 19.94 kB / 0.9909 GB, free: 8.805 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 (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.0001519/0.008592, allocations: 194.5 kB / 0.9911 GB, free: 8.602 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.008656, allocations: 11.98 kB / 0.9911 GB, free: 8.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008658, allocations: 0 / 0.9911 GB, free: 8.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.008661, allocations: 3.938 kB / 0.9911 GB, free: 8.586 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.008987, allocations: 455.7 kB / 0.9915 GB, free: 8.137 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.009215, allocations: 209.7 kB / 0.9917 GB, free: 7.898 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.009257, allocations: 63.47 kB / 0.9918 GB, free: 7.816 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.00928, allocations: 12.48 kB / 0.9918 GB, free: 7.805 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.009281, allocations: 4 kB / 0.9918 GB, free: 7.801 MB / 0.948 GB Notification: Performance of Templates: time 0.001702/0.01098, allocations: 0.7431 MB / 0.9925 GB, free: 7.066 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.603800478391349]