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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001455/0.001455, allocations: 191.3 kB / 16.13 MB, free: 6.691 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 63.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5596, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1414/0.701, allocations: 146 MB / 1.159 GB, free: 236 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.7012, allocations: 51.84 kB / 1.159 GB, free: 184 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.7012, allocations: 0 / 1.159 GB, free: 184 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.7014, allocations: 4 kB / 1.159 GB, free: 180 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.7015, allocations: 11.92 kB / 1.159 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.7022, allocations: 207.3 kB / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.7023, allocations: 55.73 kB / 1.16 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.7023, allocations: 4 kB / 1.16 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.7024, allocations: 19.91 kB / 1.16 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.7024, allocations: 8 kB / 1.16 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7024, allocations: 0 / 1.16 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.7029, allocations: 239.3 kB / 1.16 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.703, allocations: 7.984 kB / 1.16 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.703, allocations: 11.92 kB / 1.16 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.7033, allocations: 133.9 kB / 1.16 GB, free: 15.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7033, allocations: 0 / 1.16 GB, free: 15.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7033, allocations: 0 / 1.16 GB, free: 15.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7033, allocations: 0 / 1.16 GB, free: 15.5 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.0003611/0.7037, allocations: 341.4 kB / 1.16 GB, free: 15.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7037, allocations: 12.02 kB / 1.16 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.7037, allocations: 38.75 kB / 1.16 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.7041, allocations: 24.91 kB / 1.16 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7042, allocations: 164.1 kB / 1.161 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.7042, allocations: 29.7 kB / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.7043, allocations: 0 / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.7044, allocations: 45.69 kB / 1.161 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.7044, allocations: 0 / 1.161 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.7044, allocations: 4 kB / 1.161 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.7044, allocations: 11.92 kB / 1.161 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.7045, allocations: 23.98 kB / 1.161 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.7048, allocations: 256.8 kB / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.7049, allocations: 26.56 kB / 1.161 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.7049, allocations: 8.922 kB / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.7051, allocations: 93.09 kB / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.7051, allocations: 34.56 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7051, allocations: 3.938 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002344/0.7054, allocations: 45.69 kB / 1.161 GB, free: 14.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.7054, allocations: 55.34 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.7055, allocations: 114 kB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7055, allocations: 25.7 kB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.7056, allocations: 95.92 kB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/0.7056, allocations: 11.84 kB / 1.161 GB, free: 13.83 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.7056, allocations: 9.719 kB / 1.161 GB, free: 13.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.7057, allocations: 318.8 kB / 1.162 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.7057, allocations: 3.984 kB / 1.162 GB, free: 13.49 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.7058, allocations: 26.58 kB / 1.162 GB, free: 13.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.7058, allocations: 30.52 kB / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7058, allocations: 0 / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.746e-05/0.7059, allocations: 57.62 kB / 1.162 GB, free: 13.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7059, allocations: 4 kB / 1.162 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7059, allocations: 8.094 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.706, allocations: 0 / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.706, allocations: 7.984 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.706, allocations: 11.88 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.7061, allocations: 0 / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.7061, allocations: 0 / 1.162 GB, free: 13.32 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 6.829e-05/0.7061, allocations: 110.4 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.7062, allocations: 3.906 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.7062, allocations: 11.12 kB / 1.162 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.7062, allocations: 4 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7062, allocations: 3.938 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7062, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.7065, allocations: 363.6 kB / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7065, allocations: 0 / 1.162 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.7066, allocations: 7.938 kB / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7066, allocations: 0 / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7066, allocations: 7.984 kB / 1.162 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7066, allocations: 4.062 kB / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7066, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.877e-05/0.7067, allocations: 69.94 kB / 1.162 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.7067, allocations: 81.05 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7067, allocations: 3.984 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.7068, allocations: 4 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.7069, allocations: 8.031 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7069, allocations: 0 / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.7069, allocations: 87.27 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7069, allocations: 3.938 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001986/0.7071, allocations: 8 kB / 1.163 GB, free: 12.44 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.0003225/0.7074, allocations: 0.6132 MB / 1.163 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.7075, allocations: 15.94 kB / 1.163 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7075, allocations: 0 / 1.163 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.7076, allocations: 11.88 kB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.7078, allocations: 12.28 kB / 1.163 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.7082, allocations: 146.9 kB / 1.163 GB, free: 11.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.7084, allocations: 0.677 MB / 1.164 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.613e-05/0.7085, allocations: 12.41 kB / 1.164 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.7085, allocations: 7.438 kB / 1.164 GB, free: 10.85 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.7085, allocations: 0 / 1.164 GB, free: 10.85 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.7214, allocations: 1.301 MB / 1.165 GB, free: 9.641 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.7216, allocations: 201.8 kB / 1.166 GB, free: 9.391 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.402, allocations: 0 / 1.166 GB, free: 9.391 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