Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006215/0.006215, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001345/0.001345, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.657/2.657, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8634/1.141, allocations: 135.4 MB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/1.141, allocations: 50.83 kB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/1.141, allocations: 1 kB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/1.141, allocations: 8.641 kB / 1.298 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/1.141, allocations: 13.53 kB / 1.298 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/1.142, allocations: 237.2 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.968e-05/1.142, allocations: 32.06 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/1.142, allocations: 9.031 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/1.142, allocations: 19.3 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/1.142, allocations: 8.109 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/1.142, allocations: 3.406 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/1.143, allocations: 240.9 kB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/1.143, allocations: 9.703 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/1.143, allocations: 11.89 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/1.143, allocations: 188 kB / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.143, allocations: 0 / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.143, allocations: 0 / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.144, allocations: 6.125 kB / 1.299 GB, free: 13.69 MB / 1.014 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.0004715/1.144, allocations: 360.8 kB / 1.299 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.144, allocations: 9.125 kB / 1.299 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/1.144, allocations: 31.36 kB / 1.3 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/1.144, allocations: 7.297 kB / 1.3 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.144, allocations: 169 kB / 1.3 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/1.144, allocations: 28.94 kB / 1.3 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/1.144, allocations: 6.516 kB / 1.3 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/1.144, allocations: 47.91 kB / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.145, allocations: 1.812 kB / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.145, allocations: 0 / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.145, allocations: 2.578 kB / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/1.145, allocations: 15.55 kB / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/1.145, allocations: 0.5932 MB / 1.3 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/1.146, allocations: 24.55 kB / 1.3 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/1.146, allocations: 10.42 kB / 1.3 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/1.146, allocations: 334.7 kB / 1.301 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.146, allocations: 34.73 kB / 1.301 GB, free: 11.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.146, allocations: 0 / 1.301 GB, free: 11.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/1.146, allocations: 39.97 kB / 1.301 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.146, allocations: 55.34 kB / 1.301 GB, free: 11.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/1.146, allocations: 105.4 kB / 1.301 GB, free: 11.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/1.146, allocations: 25.7 kB / 1.301 GB, free: 11.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/1.146, allocations: 89.23 kB / 1.301 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/1.146, allocations: 9.578 kB / 1.301 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/1.146, allocations: 15.03 kB / 1.301 GB, free: 11.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.146, allocations: 318.8 kB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/1.146, allocations: 5.953 kB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/1.146, allocations: 18.12 kB / 1.301 GB, free: 11.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/1.146, allocations: 21.41 kB / 1.301 GB, free: 11.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.146, allocations: 3.75 kB / 1.301 GB, free: 11.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.316e-05/1.147, allocations: 50.23 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.147, allocations: 7.188 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.147, allocations: 0 / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.147, allocations: 0 / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/1.147, allocations: 10.67 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.147, allocations: 0.7031 kB / 1.302 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/1.147, allocations: 3.938 kB / 1.302 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.147, allocations: 3.938 kB / 1.302 GB, free: 11.18 MB / 1.014 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 7.298e-05/1.147, allocations: 116.4 kB / 1.302 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.147, allocations: 0 / 1.302 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/1.147, allocations: 115.9 kB / 1.302 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/1.147, allocations: 184.2 kB / 1.302 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/1.147, allocations: 186.5 kB / 1.302 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.477e-05/1.147, allocations: 178.7 kB / 1.302 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.147, allocations: 415.5 kB / 1.303 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/1.147, allocations: 103 kB / 1.303 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/1.147, allocations: 105.6 kB / 1.303 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/1.148, allocations: 182.2 kB / 1.303 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/1.148, allocations: 178.2 kB / 1.303 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.482e-05/1.148, allocations: 182.8 kB / 1.303 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-05/1.148, allocations: 184.3 kB / 1.304 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/1.148, allocations: 313.5 kB / 1.304 GB, free: 8.668 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/1.148, allocations: 184.4 kB / 1.304 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/1.148, allocations: 182.2 kB / 1.304 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/1.148, allocations: 110.1 kB / 1.304 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/1.148, allocations: 182.2 kB / 1.304 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.148, allocations: 107 kB / 1.305 GB, free: 7.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.641e-05/1.148, allocations: 90.64 kB / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 0 / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003272/1.149, allocations: 54.64 kB / 1.305 GB, free: 7.793 MB / 1.014 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.0006404/1.149, allocations: 0.8879 MB / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/1.149, allocations: 10.44 kB / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.149, allocations: 1.375 kB / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/1.149, allocations: 0 / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/1.15, allocations: 463.2 kB / 1.306 GB, free: 6.516 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.151, allocations: 1.334 MB / 1.307 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.151, allocations: 0.6744 MB / 1.308 GB, free: 4.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.99e-05/1.151, allocations: 13.78 kB / 1.308 GB, free: 4.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/1.151, allocations: 9.25 kB / 1.308 GB, free: 4.492 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.151, allocations: 0 / 1.308 GB, free: 4.492 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/1.171, allocations: 2.21 MB / 1.31 GB, free: 4.004 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.917, allocations: 8.859 kB / 1.31 GB, free: 3.996 MB / 1.014 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches