Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.004889/0.004889, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 185.3 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.14 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3193, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9181/1.237, allocations: 147.8 MB / 1.352 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/1.238, allocations: 54.42 kB / 1.352 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/1.238, allocations: 0 / 1.352 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/1.238, allocations: 4.594 kB / 1.352 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/1.238, allocations: 15.72 kB / 1.352 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/1.238, allocations: 108.7 kB / 1.352 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/1.238, allocations: 34.5 kB / 1.352 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/1.238, allocations: 1.859 kB / 1.352 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/1.239, allocations: 19.97 kB / 1.352 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/1.239, allocations: 11.25 kB / 1.352 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/1.239, allocations: 1.562 kB / 1.352 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/1.239, allocations: 87.06 kB / 1.352 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/1.239, allocations: 10.02 kB / 1.352 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/1.239, allocations: 10.28 kB / 1.352 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/1.239, allocations: 72.48 kB / 1.352 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.239, allocations: 0.9688 kB / 1.352 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.239, allocations: 7.875 kB / 1.352 GB, free: 15.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.239, allocations: 0 / 1.352 GB, free: 15.03 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003974/1.24, allocations: 338.5 kB / 1.352 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.24, allocations: 10.47 kB / 1.352 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/1.24, allocations: 37.28 kB / 1.352 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/1.24, allocations: 20.77 kB / 1.352 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.24, allocations: 162.3 kB / 1.353 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/1.24, allocations: 32.05 kB / 1.353 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/1.24, allocations: 1.625 kB / 1.353 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/1.24, allocations: 48.38 kB / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.24, allocations: 0 / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.24, allocations: 0 / 1.353 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.24, allocations: 6.984 kB / 1.353 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/1.24, allocations: 27.28 kB / 1.353 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/1.241, allocations: 255.1 kB / 1.353 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.241, allocations: 17.14 kB / 1.353 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/1.241, allocations: 9.953 kB / 1.353 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/1.241, allocations: 5.094 kB / 1.353 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.241, allocations: 32.33 kB / 1.353 GB, free: 13.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.241, allocations: 0 / 1.353 GB, free: 13.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/1.241, allocations: 40.33 kB / 1.353 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.241, allocations: 55.34 kB / 1.353 GB, free: 13.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/1.241, allocations: 106 kB / 1.353 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/1.241, allocations: 26.45 kB / 1.353 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/1.241, allocations: 102.8 kB / 1.353 GB, free: 13.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/1.241, allocations: 1.812 kB / 1.353 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/1.241, allocations: 17.66 kB / 1.353 GB, free: 13.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002534/1.242, allocations: 320.5 kB / 1.354 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/1.242, allocations: 4.688 kB / 1.354 GB, free: 13.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/1.242, allocations: 22.31 kB / 1.354 GB, free: 13.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/1.242, allocations: 38.62 kB / 1.354 GB, free: 13.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.242, allocations: 0.5625 kB / 1.354 GB, free: 13.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.566e-05/1.242, allocations: 61.17 kB / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.242, allocations: 7.078 kB / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.242, allocations: 0 / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.242, allocations: 1.094 kB / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/1.242, allocations: 8.078 kB / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/1.242, allocations: 9.844 kB / 1.354 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/1.242, allocations: 1.312 kB / 1.354 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.242, allocations: 1.281 kB / 1.354 GB, free: 13.19 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.452e-05/1.242, allocations: 114.1 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.242, allocations: 1.062 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/1.242, allocations: 8.953 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/1.242, allocations: 1.375 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.242, allocations: 5.641 kB / 1.354 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/1.242, allocations: 0 / 1.354 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/1.242, allocations: 345.4 kB / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.242, allocations: 0 / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/1.242, allocations: 2.109 kB / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.242, allocations: 3.938 kB / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/1.242, allocations: 1.75 kB / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.243, allocations: 0 / 1.354 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.243, allocations: 5.688 kB / 1.354 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.867e-05/1.243, allocations: 65.47 kB / 1.354 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/1.243, allocations: 82.91 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.243, allocations: 2.234 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/1.243, allocations: 2.672 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/1.243, allocations: 2.156 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.243, allocations: 0.875 kB / 1.354 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.426e-05/1.243, allocations: 82.56 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.243, allocations: 0 / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001905/1.243, allocations: 14.88 kB / 1.355 GB, free: 12.42 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.00044/1.243, allocations: 0.5962 MB / 1.355 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/1.244, allocations: 9.531 kB / 1.355 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.244, allocations: 5.531 kB / 1.355 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/1.244, allocations: 5.906 kB / 1.355 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/1.244, allocations: 14.81 kB / 1.355 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/1.244, allocations: 138.7 kB / 1.355 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/1.244, allocations: 0.6796 MB / 1.356 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.109e-05/1.245, allocations: 14.31 kB / 1.356 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/1.245, allocations: 12.75 kB / 1.356 GB, free: 10.94 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.245, allocations: 0 / 1.356 GB, free: 10.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/1.264, allocations: 1.376 MB / 1.357 GB, free: 10.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/8.61, allocations: 9.391 kB / 1.357 GB, free: 10.64 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches