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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.0016/0.0016, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.001829/0.001829, allocations: 192.4 kB / 17.2 MB, free: 5.594 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.519/2.519, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 55.66 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005639/0.309, allocations: 3.725 MB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002/0.3092, allocations: 151.5 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.3093, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.3094, allocations: 7.922 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.3095, allocations: 7.984 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.3099, allocations: 86.44 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.31, allocations: 31.91 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.31, allocations: 3.984 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.3101, allocations: 19.88 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.3102, allocations: 15.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3102, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.3108, allocations: 183.4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3109, allocations: 11.97 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3109, allocations: 7.938 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3111, allocations: 48.17 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3111, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3111, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3111, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 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.0003903/0.3115, allocations: 335.5 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3115, allocations: 12.03 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.3116, allocations: 4.844 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3117, allocations: 168.3 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.3118, allocations: 30.27 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3118, allocations: 384 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3119, allocations: 45.62 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3119, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.312, allocations: 11.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.312, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.312, allocations: 15.98 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.3125, allocations: 338 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.3126, allocations: 26.58 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.3126, allocations: 4.859 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.88e-05/0.3127, allocations: 89.05 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3127, allocations: 34.55 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3127, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.3129, allocations: 37.7 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.3129, allocations: 55.34 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.313, allocations: 101.8 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.313, allocations: 29.7 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3131, allocations: 88.17 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.3131, allocations: 3.906 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.3131, allocations: 13.72 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.3132, allocations: 322.8 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.3132, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.3133, allocations: 13.72 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.3133, allocations: 25.72 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3133, allocations: 3.984 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.606e-05/0.3134, allocations: 45.64 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3134, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3134, allocations: 8 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3135, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.3135, allocations: 7.984 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3135, allocations: 3.938 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3135, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3136, allocations: 8.062 kB / 1.07 GB, free: 8.621 MB / 0.8419 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.768e-05/0.3136, allocations: 115.9 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3137, allocations: 4 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.3138, allocations: 124.9 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.3138, allocations: 180.2 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.502e-05/0.3139, allocations: 176.3 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.292e-05/0.314, allocations: 180.3 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3142, allocations: 413.1 kB / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.3142, allocations: 101 kB / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.3143, allocations: 108.9 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.723e-05/0.3143, allocations: 180.3 kB / 1.072 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.3144, allocations: 184.3 kB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.147e-05/0.3145, allocations: 180.2 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-05/0.3145, allocations: 180.3 kB / 1.072 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3147, allocations: 311.7 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3147, allocations: 182.1 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.3148, allocations: 184.2 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.315, allocations: 109 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.315, allocations: 180.2 kB / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3151, allocations: 101 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.3151, allocations: 95.2 kB / 1.073 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3151, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000241/0.3154, allocations: 19.94 kB / 1.073 GB, free: 5.164 MB / 0.8419 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.0002726/0.3157, allocations: 203 kB / 1.074 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.3157, allocations: 15.94 kB / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3157, allocations: 0 / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3158, allocations: 0 / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3161, allocations: 461.3 kB / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3164, allocations: 199.6 kB / 1.074 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3166, allocations: 0.6768 MB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.3167, allocations: 7.438 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of SimCode: time 1.343e-06/0.3167, allocations: 7.938 kB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.00228/0.319, allocations: 0.7593 MB / 1.076 GB, free: 2.789 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches