Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.5 MB / 0.7293 GB, free: 14.68 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.057 GB, free: 2.164 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3069, allocations: 160.7 MB / 1.214 GB, free: 1.137 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005701/0.3126, allocations: 3.749 MB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.3128, allocations: 159.5 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3128, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.3129, allocations: 7.922 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.313, allocations: 15.92 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.3133, allocations: 83.31 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.3134, allocations: 31.91 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.3134, allocations: 4 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.3134, allocations: 23.92 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.3135, allocations: 11.92 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3135, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.314, allocations: 187.4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.3141, allocations: 7.984 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.3141, allocations: 4 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3142, allocations: 51.83 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3142, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3142, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3142, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 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.0004239/0.3147, allocations: 339.4 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3147, allocations: 12.03 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3147, allocations: 4.938 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3149, allocations: 164.3 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.3149, allocations: 34.25 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.3149, allocations: 384 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3151, allocations: 53.5 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3151, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3151, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3151, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.3152, allocations: 15.98 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.3156, allocations: 342 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.3156, allocations: 14.58 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.3157, allocations: 12.86 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.1e-05/0.3158, allocations: 89.09 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3158, allocations: 30.56 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3158, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.3159, allocations: 37.7 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.316, allocations: 55.34 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.3161, allocations: 97.84 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3161, allocations: 29.7 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3161, allocations: 92.22 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/0.3161, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3162, allocations: 21.66 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3163, allocations: 322.7 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.3163, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.3164, allocations: 17.7 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3164, allocations: 21.72 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3164, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.946e-05/0.3165, allocations: 53.62 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3165, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3165, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3165, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.3165, allocations: 8 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3165, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3166, allocations: 64 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3166, allocations: 8 kB / 1.22 GB, free: 10.65 MB / 0.9669 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 8.507e-05/0.3167, allocations: 113.8 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3167, allocations: 0 / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3168, allocations: 120.9 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/0.3169, allocations: 176.3 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.621e-05/0.317, allocations: 192.2 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.311e-05/0.317, allocations: 176.3 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3173, allocations: 413.1 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.174e-05/0.3174, allocations: 101 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.3174, allocations: 101 kB / 1.221 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.3175, allocations: 180.2 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.3176, allocations: 188.3 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.432e-05/0.3177, allocations: 188.1 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.3e-05/0.3177, allocations: 180.3 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3179, allocations: 315.9 kB / 1.222 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.318, allocations: 190.1 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/0.3181, allocations: 180.2 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3183, allocations: 109 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.3184, allocations: 180.2 kB / 1.223 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.3184, allocations: 108.9 kB / 1.223 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3185, allocations: 83.28 kB / 1.223 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3185, allocations: 8 kB / 1.223 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002438/0.3187, allocations: 11.94 kB / 1.223 GB, free: 7.184 MB / 0.9669 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.0002677/0.319, allocations: 202.4 kB / 1.223 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.3191, allocations: 12 kB / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3191, allocations: 0 / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.3191, allocations: 3.938 kB / 1.223 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3195, allocations: 463.8 kB / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.3198, allocations: 207.5 kB / 1.224 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3201, allocations: 0.6729 MB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3201, allocations: 7.438 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3201, allocations: 4 kB / 1.225 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of Templates: time 0.002287/0.3224, allocations: 0.7565 MB / 1.225 GB, free: 4.812 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.541086829965934]