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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006149/0.006149, allocations: 97.84 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.001674/0.001674, 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.578/2.578, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2583, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6151/0.8735, allocations: 147.8 MB / 1.386 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.8737, allocations: 48.61 kB / 1.386 GB, free: 7.656 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.8737, allocations: 4 kB / 1.386 GB, free: 7.652 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 8.966e-05/0.8738, allocations: 4.969 kB / 1.386 GB, free: 7.648 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.8739, allocations: 18.78 kB / 1.386 GB, free: 7.637 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.8743, allocations: 101.7 kB / 1.386 GB, free: 7.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.8744, allocations: 34.53 kB / 1.386 GB, free: 7.578 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.8744, allocations: 10.11 kB / 1.386 GB, free: 7.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.018e-05/0.8744, allocations: 11.72 kB / 1.386 GB, free: 7.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.8745, allocations: 13.89 kB / 1.386 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8745, allocations: 1.344 kB / 1.386 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.8747, allocations: 89.56 kB / 1.387 GB, free: 7.527 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.8748, allocations: 12.05 kB / 1.387 GB, free: 7.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.8748, allocations: 11.66 kB / 1.387 GB, free: 7.516 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.8749, allocations: 72.64 kB / 1.387 GB, free: 7.5 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.8749, allocations: 0 / 1.387 GB, free: 7.5 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8749, allocations: 0 / 1.387 GB, free: 7.5 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.875, allocations: 0 / 1.387 GB, free: 7.5 MB / 1.092 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.0003401/0.8753, allocations: 342.5 kB / 1.387 GB, free: 7.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.8753, allocations: 9.375 kB / 1.387 GB, free: 7.137 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.8754, allocations: 35.88 kB / 1.387 GB, free: 7.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.8755, allocations: 21.08 kB / 1.387 GB, free: 7.094 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.8757, allocations: 161.5 kB / 1.387 GB, free: 6.898 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.8757, allocations: 31.05 kB / 1.387 GB, free: 6.863 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8757, allocations: 5.297 kB / 1.387 GB, free: 6.859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.8759, allocations: 51.92 kB / 1.387 GB, free: 6.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.8759, allocations: 0 / 1.387 GB, free: 6.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.8759, allocations: 0 / 1.387 GB, free: 6.82 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.8759, allocations: 6.375 kB / 1.387 GB, free: 6.816 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.8759, allocations: 17.97 kB / 1.387 GB, free: 6.812 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.8763, allocations: 263.9 kB / 1.388 GB, free: 6.531 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.8763, allocations: 19.73 kB / 1.388 GB, free: 6.504 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.8763, allocations: 7.266 kB / 1.388 GB, free: 6.496 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.8763, allocations: 2.203 kB / 1.388 GB, free: 6.496 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.8764, allocations: 31.59 kB / 1.388 GB, free: 6.457 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.8764, allocations: 3.938 kB / 1.388 GB, free: 6.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.8765, allocations: 35.39 kB / 1.388 GB, free: 6.418 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.8765, allocations: 60.38 kB / 1.388 GB, free: 6.348 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.8766, allocations: 109.5 kB / 1.388 GB, free: 6.242 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.8766, allocations: 30.92 kB / 1.388 GB, free: 6.207 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.8767, allocations: 91.06 kB / 1.388 GB, free: 6.117 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.8767, allocations: 1.156 kB / 1.388 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.8767, allocations: 18.42 kB / 1.388 GB, free: 6.098 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8768, allocations: 311.8 kB / 1.388 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.8769, allocations: 8.094 kB / 1.388 GB, free: 5.781 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.8769, allocations: 29.14 kB / 1.388 GB, free: 5.75 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.8769, allocations: 32.31 kB / 1.388 GB, free: 5.719 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8769, allocations: 0 / 1.388 GB, free: 5.719 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.341e-05/0.877, allocations: 57.22 kB / 1.388 GB, free: 5.676 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.877, allocations: 5.812 kB / 1.388 GB, free: 5.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.877, allocations: 5.781 kB / 1.388 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.8771, allocations: 1.406 kB / 1.388 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.8771, allocations: 7.969 kB / 1.388 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8771, allocations: 8.766 kB / 1.388 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.8772, allocations: 1.469 kB / 1.388 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.8772, allocations: 2.656 kB / 1.388 GB, free: 5.664 MB / 1.092 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.989e-05/0.8772, allocations: 117.6 kB / 1.389 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.8773, allocations: 1.734 kB / 1.389 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.8773, allocations: 5.234 kB / 1.389 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8773, allocations: 4 kB / 1.389 GB, free: 5.539 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8773, allocations: 5.156 kB / 1.389 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.8773, allocations: 0.5156 kB / 1.389 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.8775, allocations: 340.1 kB / 1.389 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8776, allocations: 2.844 kB / 1.389 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.8776, allocations: 2.25 kB / 1.389 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8776, allocations: 11.86 kB / 1.389 GB, free: 5.145 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.8776, allocations: 1.406 kB / 1.389 GB, free: 5.145 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.8776, allocations: 4.031 kB / 1.389 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8776, allocations: 0.5625 kB / 1.389 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.8777, allocations: 61.42 kB / 1.389 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.8777, allocations: 82.62 kB / 1.389 GB, free: 4.973 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8777, allocations: 1.969 kB / 1.389 GB, free: 4.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.8778, allocations: 7.062 kB / 1.389 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.8778, allocations: 1.562 kB / 1.389 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.8778, allocations: 4.594 kB / 1.389 GB, free: 4.965 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.8779, allocations: 88.25 kB / 1.389 GB, free: 4.887 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8779, allocations: 0 / 1.389 GB, free: 4.887 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001718/0.8781, allocations: 7.359 kB / 1.389 GB, free: 4.887 MB / 1.092 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.0003108/0.8784, allocations: 0.5961 MB / 1.39 GB, free: 4.289 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.8785, allocations: 22.94 kB / 1.39 GB, free: 4.277 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.8785, allocations: 0 / 1.39 GB, free: 4.277 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.8785, allocations: 5.25 kB / 1.39 GB, free: 4.273 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.8787, allocations: 4.828 kB / 1.39 GB, free: 4.273 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.8789, allocations: 133.5 kB / 1.39 GB, free: 4.129 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.8792, allocations: 0.6748 MB / 1.391 GB, free: 3.434 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.8792, allocations: 9.438 kB / 1.391 GB, free: 3.43 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.8793, allocations: 9.078 kB / 1.391 GB, free: 3.422 MB / 1.092 GB Notification: Performance of SimCode: time 2.1e-07/0.8793, allocations: 1.156 kB / 1.391 GB, free: 3.422 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.588/3.468, allocations: 1.381 MB / 1.392 GB, free: 2.734 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/18.71, allocations: 8.656 kB / 1.392 GB, free: 2.73 MB / 1.092 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=400 --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