Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001177/0.001178, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6723, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1436/0.8159, allocations: 135.4 MB / 1.221 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.8161, allocations: 54.77 kB / 1.221 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.8161, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.8162, allocations: 4.938 kB / 1.221 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.8163, allocations: 11.05 kB / 1.221 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.8172, allocations: 254 kB / 1.221 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.8173, allocations: 34.02 kB / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.8173, allocations: 1.281 kB / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.8173, allocations: 17.47 kB / 1.221 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.8174, allocations: 17.27 kB / 1.221 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8174, allocations: 1.375 kB / 1.221 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.8179, allocations: 249 kB / 1.221 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.8179, allocations: 2.688 kB / 1.221 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.818, allocations: 16.17 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.8183, allocations: 179.8 kB / 1.222 GB, free: 336 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8183, allocations: 4 kB / 1.222 GB, free: 332 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8183, allocations: 4.781 kB / 1.222 GB, free: 328 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.8183, allocations: 0 / 1.222 GB, free: 328 kB / 0.9512 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.0003661/0.8187, allocations: 365.3 kB / 1.222 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.8187, allocations: 9.312 kB / 1.222 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.8188, allocations: 2.094 kB / 1.222 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.8189, allocations: 169.1 kB / 1.222 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.8189, allocations: 28.11 kB / 1.222 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.8189, allocations: 5.062 kB / 1.222 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.819, allocations: 50.67 kB / 1.222 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.8191, allocations: 0 / 1.222 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.8191, allocations: 0.9375 kB / 1.222 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.8191, allocations: 9.141 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.8191, allocations: 9.844 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.8198, allocations: 0.5911 MB / 1.223 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.8198, allocations: 24.89 kB / 1.223 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.8199, allocations: 6.016 kB / 1.223 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.82, allocations: 342.8 kB / 1.223 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.8201, allocations: 31.62 kB / 1.223 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.8201, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.8202, allocations: 36.45 kB / 1.223 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.8202, allocations: 51.41 kB / 1.223 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.8203, allocations: 99.88 kB / 1.223 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.8203, allocations: 25.7 kB / 1.223 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.8204, allocations: 89.45 kB / 1.224 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-06/0.8204, allocations: 9 kB / 1.224 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.8204, allocations: 17.2 kB / 1.224 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.8205, allocations: 319.8 kB / 1.224 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.8205, allocations: 3.438 kB / 1.224 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.8206, allocations: 17.81 kB / 1.224 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.8206, allocations: 31.02 kB / 1.224 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8206, allocations: 1.281 kB / 1.224 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.297e-05/0.8207, allocations: 50.45 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8207, allocations: 8.484 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.8207, allocations: 1.125 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8207, allocations: 1.094 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.8208, allocations: 4.094 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.8208, allocations: 1.406 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.8208, allocations: 5.438 kB / 1.224 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.8208, allocations: 5.062 kB / 1.224 GB, free: 13.72 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 5.79e-05/0.8209, allocations: 112 kB / 1.224 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.8209, allocations: 1.281 kB / 1.224 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.821, allocations: 124.6 kB / 1.224 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/0.8211, allocations: 181.3 kB / 1.224 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.8211, allocations: 104.9 kB / 1.224 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.8212, allocations: 188.3 kB / 1.225 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.8212, allocations: 181.4 kB / 1.225 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.8214, allocations: 111.3 kB / 1.225 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.8214, allocations: 181.7 kB / 1.225 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.693e-05/0.8215, allocations: 256.7 kB / 1.225 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000136/0.8217, allocations: 388.1 kB / 1.226 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.405e-05/0.8217, allocations: 114.4 kB / 1.226 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.8217, allocations: 87.05 kB / 1.226 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of Backend: time 4.1e-07/0.8217, allocations: 1.062 kB / 1.226 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.8223, allocations: 169.5 kB / 1.226 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of SimCode: time 0.000437/0.8227, allocations: 0.8588 MB / 1.227 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.003234/0.8259, allocations: 1.2 MB / 1.228 GB, free: 9.996 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches