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.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: "" <> 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.0009662/0.0009662, 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.007337/0.007337, 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 12.59 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.116/0.3325, allocations: 143.7 MB / 1.199 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 9.594e-05/0.3326, allocations: 59.84 kB / 1.199 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.327e-05/0.3327, allocations: 0 / 1.199 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.3328, allocations: 0 / 1.199 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.3328, allocations: 19.91 kB / 1.199 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3332, allocations: 95.73 kB / 1.199 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.3332, allocations: 55.81 kB / 1.199 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.905e-05/0.3333, allocations: 0 / 1.199 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.3333, allocations: 19.98 kB / 1.199 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.3334, allocations: 19.86 kB / 1.199 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.3334, allocations: 0 / 1.199 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3336, allocations: 83.77 kB / 1.199 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.3337, allocations: 11.94 kB / 1.199 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.3337, allocations: 37.62 kB / 1.2 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3338, allocations: 72.12 kB / 1.2 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3338, allocations: 7.938 kB / 1.2 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3338, allocations: 0 / 1.2 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3339, allocations: 0 / 1.2 GB, free: 4.145 MB / 0.9512 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.0002687/0.3341, allocations: 319.6 kB / 1.2 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3342, allocations: 12.03 kB / 1.2 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.3342, allocations: 34.75 kB / 1.2 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3344, allocations: 28.84 kB / 1.2 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.3345, allocations: 168.1 kB / 1.2 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.3345, allocations: 29.7 kB / 1.2 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3346, allocations: 0 / 1.2 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3347, allocations: 45.67 kB / 1.2 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.3347, allocations: 4 kB / 1.2 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3347, allocations: 4 kB / 1.2 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3347, allocations: 0 / 1.2 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.3348, allocations: 23.92 kB / 1.2 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.3351, allocations: 260.8 kB / 1.2 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.018e-05/0.3351, allocations: 14.58 kB / 1.2 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.3352, allocations: 12.92 kB / 1.201 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-06/0.3352, allocations: 0 / 1.201 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3352, allocations: 34.56 kB / 1.201 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3352, allocations: 0 / 1.201 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.3353, allocations: 33.64 kB / 1.201 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3354, allocations: 63.34 kB / 1.201 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.3354, allocations: 105.8 kB / 1.201 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3355, allocations: 25.7 kB / 1.201 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.3355, allocations: 92.08 kB / 1.201 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-06/0.3355, allocations: 0 / 1.201 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.3355, allocations: 21.7 kB / 1.201 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.3356, allocations: 310.8 kB / 1.201 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.3356, allocations: 4 kB / 1.201 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.3357, allocations: 30.55 kB / 1.201 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.3357, allocations: 30.52 kB / 1.201 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3357, allocations: 0 / 1.201 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.386e-05/0.3358, allocations: 57.62 kB / 1.201 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3358, allocations: 4 kB / 1.201 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3358, allocations: 4 kB / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.3358, allocations: 0 / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.3359, allocations: 7.938 kB / 1.201 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3359, allocations: 8.094 kB / 1.201 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.3359, allocations: 7.844 kB / 1.201 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.336, allocations: 7.875 kB / 1.201 GB, free: 2.121 MB / 0.9512 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 6.324e-05/0.336, allocations: 117.8 kB / 1.201 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.336, allocations: 0 / 1.201 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.3361, allocations: 11.12 kB / 1.201 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3361, allocations: 3.938 kB / 1.201 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3361, allocations: 0 / 1.201 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3361, allocations: 0 / 1.201 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3363, allocations: 342.8 kB / 1.202 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3363, allocations: 0 / 1.202 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.3363, allocations: 7.922 kB / 1.202 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3363, allocations: 4 kB / 1.202 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.3364, allocations: 0 / 1.202 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3364, allocations: 3.938 kB / 1.202 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3364, allocations: 0 / 1.202 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.817e-05/0.3364, allocations: 61.17 kB / 1.202 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3365, allocations: 81.05 kB / 1.202 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3365, allocations: 3.984 kB / 1.202 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.3366, allocations: 4 kB / 1.202 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.3366, allocations: 0 / 1.202 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3366, allocations: 0 / 1.202 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.3366, allocations: 83.53 kB / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3366, allocations: 0 / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001759/0.3368, allocations: 16.03 kB / 1.202 GB, free: 1.293 MB / 0.9512 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.0002438/0.3371, allocations: 0.6006 MB / 1.203 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.3371, allocations: 11.98 kB / 1.203 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3371, allocations: 224 / 1.203 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-06/0.3372, allocations: 11.94 kB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.3373, allocations: 8 kB / 1.203 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3376, allocations: 142.2 kB / 1.203 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3378, allocations: 0.677 MB / 1.203 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.3379, allocations: 12.05 kB / 1.203 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.3379, allocations: 15.44 kB / 1.203 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3379, allocations: 0 / 1.203 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.413/2.751, allocations: 1.161 MB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/2.752, allocations: 242.9 kB / 1.205 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/4.663, allocations: 6.469 kB / 1.205 GB, free: 14.5 MB / 0.9669 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