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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007588/0.007588, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001913/0.001913, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.688/2.688, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.83 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2534, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.653/0.9064, allocations: 147.8 MB / 1.364 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.9066, allocations: 50.45 kB / 1.364 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.9066, allocations: 1.125 kB / 1.364 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.576e-05/0.9067, allocations: 4.547 kB / 1.364 GB, free: 1.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.9068, allocations: 10.09 kB / 1.364 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.9073, allocations: 106 kB / 1.364 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.9074, allocations: 41.61 kB / 1.364 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.9074, allocations: 3.812 kB / 1.364 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.9075, allocations: 10.09 kB / 1.364 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.9075, allocations: 16.92 kB / 1.364 GB, free: 1.098 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.9076, allocations: 0 / 1.364 GB, free: 1.098 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.9078, allocations: 86.59 kB / 1.364 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.9079, allocations: 13.55 kB / 1.364 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.9079, allocations: 11.69 kB / 1.364 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.9081, allocations: 66.59 kB / 1.365 GB, free: 1.039 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9081, allocations: 0.8906 kB / 1.365 GB, free: 1.039 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.91e-07/0.9081, allocations: 5.25 kB / 1.365 GB, free: 1.035 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.9081, allocations: 1.688 kB / 1.365 GB, free: 1.035 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.0003606/0.9085, allocations: 342.2 kB / 1.365 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9085, allocations: 9.812 kB / 1.365 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.9086, allocations: 31.41 kB / 1.365 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.9088, allocations: 18.69 kB / 1.365 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.9089, allocations: 171.1 kB / 1.365 GB, free: 440 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.909, allocations: 34.95 kB / 1.365 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.909, allocations: 1.062 kB / 1.365 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.9091, allocations: 46.8 kB / 1.365 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.9091, allocations: 0 / 1.365 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9092, allocations: 0.7969 kB / 1.365 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.9092, allocations: 2.312 kB / 1.365 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.9092, allocations: 22.42 kB / 1.365 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.9096, allocations: 263.8 kB / 1.365 GB, free: 68 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.9097, allocations: 18.38 kB / 1.365 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.9097, allocations: 14.19 kB / 1.365 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.9097, allocations: 0 / 1.365 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.9097, allocations: 31.84 kB / 1.366 GB, free: 15.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9097, allocations: 3.938 kB / 1.366 GB, free: 15.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.9099, allocations: 40.53 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.9099, allocations: 56.33 kB / 1.366 GB, free: 15.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.91, allocations: 104.9 kB / 1.366 GB, free: 15.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.91, allocations: 26.5 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.9101, allocations: 94.55 kB / 1.366 GB, free: 15.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.9101, allocations: 1.469 kB / 1.366 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.9101, allocations: 18.91 kB / 1.366 GB, free: 15.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9102, allocations: 319.7 kB / 1.366 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.9102, allocations: 5.766 kB / 1.366 GB, free: 15.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.9103, allocations: 28.08 kB / 1.366 GB, free: 15.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.9103, allocations: 28.44 kB / 1.366 GB, free: 15.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9103, allocations: 0 / 1.366 GB, free: 15.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.618e-05/0.9104, allocations: 62.2 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9105, allocations: 3.969 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.9105, allocations: 1.281 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.9105, allocations: 1.641 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.9106, allocations: 6.703 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9106, allocations: 5.906 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.9106, allocations: 1.062 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.9106, allocations: 2.406 kB / 1.366 GB, free: 15.2 MB / 1.076 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.64e-05/0.9107, allocations: 125.4 kB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.9107, allocations: 1.906 kB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.9108, allocations: 9.094 kB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9108, allocations: 0 / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9108, allocations: 4.5 kB / 1.366 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9108, allocations: 1.406 kB / 1.366 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.911, allocations: 344.4 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9111, allocations: 1.781 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.9111, allocations: 5.25 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9111, allocations: 3.938 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.9111, allocations: 2.141 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9111, allocations: 0.875 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9111, allocations: 0 / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.845e-05/0.9112, allocations: 61.92 kB / 1.367 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.9112, allocations: 83.55 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9112, allocations: 1.219 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.9113, allocations: 7.328 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.9114, allocations: 3.562 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.9114, allocations: 0.75 kB / 1.367 GB, free: 14.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.9114, allocations: 81.02 kB / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/0.9114, allocations: 0 / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002028/0.9116, allocations: 14.22 kB / 1.367 GB, free: 14.42 MB / 1.076 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.0002998/0.9119, allocations: 0.6048 MB / 1.368 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.912, allocations: 12.41 kB / 1.368 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.912, allocations: 0 / 1.368 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-06/0.912, allocations: 5.969 kB / 1.368 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.9123, allocations: 9.438 kB / 1.368 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.9126, allocations: 137.8 kB / 1.368 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.9128, allocations: 0.676 MB / 1.368 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.759e-05/0.9129, allocations: 5.375 kB / 1.368 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.9129, allocations: 13.14 kB / 1.368 GB, free: 12.95 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/0.9129, allocations: 1.062 kB / 1.368 GB, free: 12.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.9292, allocations: 1.381 MB / 1.37 GB, free: 12.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/8.058, allocations: 7.891 kB / 1.37 GB, free: 12.64 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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