Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008421/0.008421, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 443.3 MB / 0.7175 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 10.38 kB / 0.8795 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.376, allocations: 155.2 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004696/0.3807, allocations: 3.702 MB / 1.035 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002091/0.381, allocations: 159.5 kB / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.381, allocations: 3.938 kB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3811, allocations: 0 / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.3812, allocations: 15.91 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.3816, allocations: 71.77 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.3817, allocations: 59.81 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3817, allocations: 7.984 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.3818, allocations: 16 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.3818, allocations: 11.92 kB / 1.035 GB, free: 260 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3819, allocations: 4 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.3821, allocations: 75.78 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.3821, allocations: 11.92 kB / 1.035 GB, free: 168 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.3822, allocations: 29.7 kB / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3823, allocations: 48.11 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3823, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3823, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3823, allocations: 4 kB / 1.035 GB, free: 80 kB / 0.7794 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.0003697/0.3827, allocations: 327.6 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3828, allocations: 8.031 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3828, allocations: 0.9375 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3829, allocations: 168.4 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.383, allocations: 26.27 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.383, allocations: 384 / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3832, allocations: 53.55 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3832, allocations: 8 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3832, allocations: 0 / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.3832, allocations: 0 / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.3833, allocations: 11.98 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.3837, allocations: 337.9 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.3838, allocations: 26.52 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.3838, allocations: 4.859 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.3839, allocations: 85.17 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3839, allocations: 34.55 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3839, allocations: 4 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.3841, allocations: 29.7 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3841, allocations: 51.41 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.3842, allocations: 109.8 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3842, allocations: 25.7 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.3843, allocations: 88.17 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.3843, allocations: 7.938 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.3843, allocations: 17.66 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3845, allocations: 314.8 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.3845, allocations: 3.984 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.3845, allocations: 21.66 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3846, allocations: 21.72 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3846, allocations: 0 / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.3847, allocations: 49.62 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3847, allocations: 9.875 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3847, allocations: 3.984 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3848, allocations: 0 / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.3848, allocations: 7.984 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3849, allocations: 4 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.3849, allocations: 7.906 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3849, allocations: 4.062 kB / 1.037 GB, free: 13.97 MB / 0.795 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.0001101/0.385, allocations: 123.2 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3851, allocations: 288 / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.3852, allocations: 120.9 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.629e-05/0.3853, allocations: 180.2 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.3854, allocations: 184.2 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.197e-05/0.3855, allocations: 184.3 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3858, allocations: 409.1 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/0.3858, allocations: 109 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.3859, allocations: 105 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.3859, allocations: 180.2 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.386, allocations: 180.3 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/0.3861, allocations: 184.2 kB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.513e-05/0.3861, allocations: 176.3 kB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.3863, allocations: 311.7 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.3864, allocations: 182.1 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.3864, allocations: 188.2 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3866, allocations: 109.2 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.3867, allocations: 176.3 kB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.3867, allocations: 109 kB / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.3868, allocations: 87.27 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3868, allocations: 4 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002448/0.387, allocations: 19.94 kB / 1.04 GB, free: 10.5 MB / 0.795 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.0002488/0.3873, allocations: 202.4 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.3874, allocations: 4 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3874, allocations: 0 / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3874, allocations: 3.938 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.3878, allocations: 0.5265 MB / 1.041 GB, free: 9.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.3881, allocations: 187.8 kB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3883, allocations: 0.677 MB / 1.042 GB, free: 8.836 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.3884, allocations: 11.94 kB / 1.042 GB, free: 8.824 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.3884, allocations: 7.438 kB / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3884, allocations: 0 / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of Templates: time 0.002871/0.3913, allocations: 0.6129 MB / 1.042 GB, free: 8.207 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches