Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.005486/0.005486, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001271/0.001271, allocations: 192.4 kB / 16.67 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.198/2.198, allocations: 437.1 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 63.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5837, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1452/0.7289, allocations: 147.8 MB / 1.311 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.7291, allocations: 59.81 kB / 1.311 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.7291, allocations: 0 / 1.311 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.7292, allocations: 3.984 kB / 1.311 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.7293, allocations: 11.92 kB / 1.311 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.7297, allocations: 108.5 kB / 1.311 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.7298, allocations: 35.91 kB / 1.311 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.7298, allocations: 0 / 1.311 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.7299, allocations: 19.91 kB / 1.311 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.7299, allocations: 19.92 kB / 1.311 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7299, allocations: 0 / 1.311 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.7302, allocations: 79.72 kB / 1.311 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.7302, allocations: 4 kB / 1.311 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.7302, allocations: 19.92 kB / 1.311 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.7304, allocations: 66.58 kB / 1.311 GB, free: 14.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7304, allocations: 3.938 kB / 1.311 GB, free: 14.9 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7304, allocations: 0 / 1.311 GB, free: 14.9 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7304, allocations: 0 / 1.311 GB, free: 14.9 MB / 1.045 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.0003574/0.7308, allocations: 344.4 kB / 1.311 GB, free: 14.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.7308, allocations: 8.922 kB / 1.311 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.7309, allocations: 34.75 kB / 1.311 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.731, allocations: 16.92 kB / 1.311 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.7312, allocations: 176.1 kB / 1.312 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.7312, allocations: 29.69 kB / 1.312 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.7313, allocations: 0 / 1.312 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.7314, allocations: 49.62 kB / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.7314, allocations: 0 / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.7314, allocations: 0 / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.7314, allocations: 4 kB / 1.312 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.7315, allocations: 15.98 kB / 1.312 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.7318, allocations: 268.8 kB / 1.312 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.312e-05/0.7319, allocations: 22.52 kB / 1.312 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.7319, allocations: 4.859 kB / 1.312 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-06/0.7319, allocations: 0 / 1.312 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.7319, allocations: 30.56 kB / 1.312 GB, free: 13.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.7319, allocations: 4 kB / 1.312 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.732, allocations: 41.75 kB / 1.312 GB, free: 13.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.7321, allocations: 55.34 kB / 1.312 GB, free: 13.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.7321, allocations: 105.8 kB / 1.312 GB, free: 13.51 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.7322, allocations: 25.7 kB / 1.312 GB, free: 13.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.7322, allocations: 88.05 kB / 1.312 GB, free: 13.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.7322, allocations: 4 kB / 1.312 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.7323, allocations: 21.66 kB / 1.312 GB, free: 13.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7324, allocations: 315 kB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.7324, allocations: 11.98 kB / 1.313 GB, free: 13.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.7324, allocations: 22.56 kB / 1.313 GB, free: 13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.7325, allocations: 30.56 kB / 1.313 GB, free: 12.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7325, allocations: 4 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.79e-05/0.7326, allocations: 53.59 kB / 1.313 GB, free: 12.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-06/0.7326, allocations: 7.938 kB / 1.313 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7326, allocations: 4 kB / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7326, allocations: 3.984 kB / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.7327, allocations: 11.88 kB / 1.313 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.7327, allocations: 4 kB / 1.313 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.7327, allocations: 0 / 1.313 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.7327, allocations: 0 / 1.313 GB, free: 12.86 MB / 1.045 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.195e-05/0.7328, allocations: 121.9 kB / 1.313 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.7328, allocations: 3.938 kB / 1.313 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.7329, allocations: 7.125 kB / 1.313 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7329, allocations: 3.938 kB / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7329, allocations: 3.984 kB / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-06/0.7329, allocations: 0 / 1.313 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.7331, allocations: 343 kB / 1.313 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7331, allocations: 4.031 kB / 1.313 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.7332, allocations: 7.938 kB / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.7332, allocations: 4 kB / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.7332, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.7332, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7332, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.7332, allocations: 65.08 kB / 1.313 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.7333, allocations: 81.05 kB / 1.313 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.7333, allocations: 4.031 kB / 1.313 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.7334, allocations: 4 kB / 1.313 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.7334, allocations: 7.922 kB / 1.313 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.7334, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.7335, allocations: 83.28 kB / 1.313 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.7335, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001661/0.7336, allocations: 8 kB / 1.313 GB, free: 12.02 MB / 1.045 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.0003123/0.734, allocations: 0.5968 MB / 1.314 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.415e-05/0.734, allocations: 15.94 kB / 1.314 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.734, allocations: 0 / 1.314 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.734, allocations: 4 kB / 1.314 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.7342, allocations: 10.83 kB / 1.314 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.7345, allocations: 135.9 kB / 1.314 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.7348, allocations: 0.6768 MB / 1.315 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.7348, allocations: 4 kB / 1.315 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.7349, allocations: 11.44 kB / 1.315 GB, free: 10.48 MB / 1.045 GB Notification: Performance of SimCode: time 3.196e-06/0.7349, allocations: 0 / 1.315 GB, free: 10.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/1.803, allocations: 1.383 MB / 1.316 GB, free: 9.242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.43, allocations: 12.02 kB / 1.316 GB, free: 9.23 MB / 1.045 GB (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches