Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.001813/0.001813, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001812/0.001812, allocations: 195.7 kB / 16.26 MB, free: 6.629 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.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.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.259/2.259, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.81 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5086, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1221/0.6308, allocations: 146.2 MB / 1.16 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.6309, allocations: 55.75 kB / 1.16 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.631, allocations: 0 / 1.16 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.194e-05/0.6311, allocations: 0 / 1.16 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.6311, allocations: 15.91 kB / 1.16 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.6317, allocations: 199.3 kB / 1.16 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.6318, allocations: 35.91 kB / 1.16 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.698e-05/0.6318, allocations: 0 / 1.16 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.6318, allocations: 23.8 kB / 1.16 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.6319, allocations: 11.94 kB / 1.16 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.6319, allocations: 0 / 1.16 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.6322, allocations: 199.4 kB / 1.16 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.6323, allocations: 15.92 kB / 1.16 GB, free: 15.4 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.6323, allocations: 15.88 kB / 1.16 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.6325, allocations: 125.9 kB / 1.16 GB, free: 15.26 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.6325, allocations: 0 / 1.16 GB, free: 15.26 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6325, allocations: 4 kB / 1.16 GB, free: 15.26 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.6325, allocations: 0 / 1.16 GB, free: 15.26 MB / 0.92 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.0002774/0.6328, allocations: 343.4 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.6329, allocations: 12.02 kB / 1.161 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.6329, allocations: 34.75 kB / 1.161 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.6332, allocations: 24.91 kB / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.6332, allocations: 168.1 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.6333, allocations: 33.69 kB / 1.161 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.6333, allocations: 0 / 1.161 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.6334, allocations: 45.69 kB / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.6334, allocations: 3.938 kB / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6334, allocations: 4 kB / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6335, allocations: 3.984 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.6335, allocations: 19.98 kB / 1.161 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.6338, allocations: 260.8 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.74e-05/0.6338, allocations: 22.61 kB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.6338, allocations: 12.92 kB / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.634, allocations: 93.09 kB / 1.161 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.634, allocations: 34.5 kB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.634, allocations: 0 / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.6342, allocations: 53.69 kB / 1.161 GB, free: 13.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.6342, allocations: 55.34 kB / 1.162 GB, free: 13.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.6343, allocations: 105.8 kB / 1.162 GB, free: 13.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.6343, allocations: 25.7 kB / 1.162 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.6344, allocations: 91.98 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.6344, allocations: 7.906 kB / 1.162 GB, free: 13.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.6344, allocations: 13.84 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.6345, allocations: 318.8 kB / 1.162 GB, free: 13.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.6345, allocations: 11.98 kB / 1.162 GB, free: 13.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.6345, allocations: 22.52 kB / 1.162 GB, free: 13.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.6346, allocations: 26.58 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6346, allocations: 4 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.083e-05/0.6347, allocations: 53.62 kB / 1.162 GB, free: 13.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6347, allocations: 9.875 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.6347, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.6347, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.6347, allocations: 15.92 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.6348, allocations: 3.938 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.6348, allocations: 7.938 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.6348, allocations: 4 kB / 1.162 GB, free: 13.08 MB / 0.92 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 5.425e-05/0.6349, allocations: 110.5 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6349, allocations: 7.906 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.6349, allocations: 7.125 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6349, allocations: 0 / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6349, allocations: 3.938 kB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6349, allocations: 3.984 kB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.6352, allocations: 363.6 kB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6352, allocations: 0 / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.6352, allocations: 7.938 kB / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6352, allocations: 3.984 kB / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.6352, allocations: 0 / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6352, allocations: 0 / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6352, allocations: 0 / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.581e-05/0.6353, allocations: 78.28 kB / 1.163 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.6353, allocations: 81.05 kB / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6354, allocations: 7.984 kB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.6355, allocations: 3.984 kB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.6355, allocations: 0 / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.6355, allocations: 7.938 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.6355, allocations: 87.27 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6355, allocations: 0 / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001759/0.6357, allocations: 4 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000279/0.636, allocations: 0.6171 MB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.6361, allocations: 16.09 kB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6361, allocations: 0 / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.6361, allocations: 7.938 kB / 1.164 GB, free: 11.53 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.6363, allocations: 15.94 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.6366, allocations: 149.1 kB / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.6367, allocations: 0.6809 MB / 1.164 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.155e-05/0.6368, allocations: 4 kB / 1.164 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.6368, allocations: 15.38 kB / 1.164 GB, free: 10.6 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.6368, allocations: 0 / 1.164 GB, free: 10.6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.068/3.705, allocations: 1.351 MB / 1.166 GB, free: 9.371 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/3.705, allocations: 209.5 kB / 1.166 GB, free: 9.117 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/5.995, allocations: 0 / 1.166 GB, free: 9.117 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches