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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 111.3 kB / 16.42 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 187.9 kB / 17.35 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.689, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005301/0.6943, allocations: 3.722 MB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000221/0.6946, allocations: 163.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.6946, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.6947, allocations: 7.922 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.6948, allocations: 7.938 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.6952, allocations: 77.75 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.6953, allocations: 43.84 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.6953, allocations: 7.922 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.6954, allocations: 11.98 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.6954, allocations: 15.92 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.6954, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.696, allocations: 187.4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.6961, allocations: 7.984 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.6961, allocations: 8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.6962, allocations: 44.39 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6962, allocations: 7.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6962, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6963, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 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.000354/0.6966, allocations: 331.5 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6967, allocations: 8.031 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.6967, allocations: 4.938 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.6968, allocations: 164.4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.6969, allocations: 30.27 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.6969, allocations: 4.375 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.697, allocations: 45.62 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6971, allocations: 4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6971, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.6971, allocations: 4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.6971, allocations: 19.92 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.6976, allocations: 338 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.6976, allocations: 18.58 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.6976, allocations: 4.859 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.137e-05/0.6977, allocations: 89.11 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6978, allocations: 34.55 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6978, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.6979, allocations: 41.64 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.6979, allocations: 51.41 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.698, allocations: 106 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.698, allocations: 25.7 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.6981, allocations: 92.08 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.6981, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.6981, allocations: 21.67 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.6982, allocations: 318.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.6983, allocations: 4 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.6983, allocations: 17.72 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.6983, allocations: 25.64 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6983, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.595e-05/0.6984, allocations: 45.7 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6984, allocations: 7.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6985, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6985, allocations: 3.984 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.6985, allocations: 12 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6985, allocations: 4 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.6986, allocations: 0 / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.6986, allocations: 4 kB / 1.173 GB, free: 13.37 MB / 0.9044 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 6.985e-05/0.6986, allocations: 113.8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.6987, allocations: 288 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.6988, allocations: 117 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/0.6989, allocations: 192.2 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.6989, allocations: 105 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.699, allocations: 186 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.699, allocations: 184.2 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.6992, allocations: 108.9 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.6993, allocations: 180.2 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.595e-05/0.6994, allocations: 263.5 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001478/0.6995, allocations: 383 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.6e-05/0.6995, allocations: 104.9 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.6996, allocations: 87.27 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of Backend: time 6.31e-07/0.6996, allocations: 3.938 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7, allocations: 112.5 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004649/0.7005, allocations: 0.8563 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.00267/0.7032, allocations: 0.5542 MB / 1.177 GB, free: 9.691 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches