Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.004711/0.004711, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001368/0.001368, allocations: 199.6 kB / 16.68 MB, free: 5.973 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2497, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5953/0.845, allocations: 148.3 MB / 1.365 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.8452, allocations: 59.91 kB / 1.365 GB, free: 468 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.8452, allocations: 0 / 1.365 GB, free: 468 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.741e-05/0.8453, allocations: 6.125 kB / 1.365 GB, free: 464 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.8454, allocations: 9.422 kB / 1.365 GB, free: 460 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.846, allocations: 216 kB / 1.365 GB, free: 352 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.8461, allocations: 34.84 kB / 1.365 GB, free: 340 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.8461, allocations: 2.031 kB / 1.365 GB, free: 340 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.8462, allocations: 15.97 kB / 1.365 GB, free: 336 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.8462, allocations: 16.14 kB / 1.365 GB, free: 328 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.8462, allocations: 1.062 kB / 1.365 GB, free: 328 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.8466, allocations: 194.3 kB / 1.365 GB, free: 248 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.8466, allocations: 13.39 kB / 1.365 GB, free: 240 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.8466, allocations: 14.91 kB / 1.366 GB, free: 232 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.8469, allocations: 105.8 kB / 1.366 GB, free: 212 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.8469, allocations: 0 / 1.366 GB, free: 212 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8469, allocations: 0 / 1.366 GB, free: 212 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.8469, allocations: 0 / 1.366 GB, free: 212 kB / 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.0003429/0.8472, allocations: 345.2 kB / 1.366 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.8473, allocations: 9.344 kB / 1.366 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.8473, allocations: 33.31 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.8475, allocations: 26.09 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.8477, allocations: 178.2 kB / 1.366 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.8477, allocations: 31.7 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.8477, allocations: 1.312 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.8478, allocations: 47.53 kB / 1.366 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.8479, allocations: 0 / 1.366 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.8479, allocations: 1.406 kB / 1.366 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.8479, allocations: 2 kB / 1.366 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.8479, allocations: 25.88 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.8482, allocations: 262.5 kB / 1.367 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.8483, allocations: 20.91 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.8483, allocations: 12.45 kB / 1.367 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.8484, allocations: 95.98 kB / 1.367 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.8485, allocations: 33.08 kB / 1.367 GB, free: 15.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8485, allocations: 0 / 1.367 GB, free: 15.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/0.8487, allocations: 52.27 kB / 1.367 GB, free: 15.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.8487, allocations: 51.41 kB / 1.367 GB, free: 14.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.8488, allocations: 107.1 kB / 1.367 GB, free: 14.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8488, allocations: 29.83 kB / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.8489, allocations: 86.47 kB / 1.367 GB, free: 14.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.8489, allocations: 6.25 kB / 1.367 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.8489, allocations: 18.59 kB / 1.367 GB, free: 14.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.849, allocations: 313.1 kB / 1.367 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.849, allocations: 7.562 kB / 1.367 GB, free: 14.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.8491, allocations: 20.5 kB / 1.367 GB, free: 14.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.8491, allocations: 37.3 kB / 1.367 GB, free: 14.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8491, allocations: 0 / 1.367 GB, free: 14.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.491e-05/0.8492, allocations: 57.48 kB / 1.367 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.8492, allocations: 10.67 kB / 1.367 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.8492, allocations: 1.25 kB / 1.367 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.8492, allocations: 1.594 kB / 1.367 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.8493, allocations: 12.95 kB / 1.367 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8493, allocations: 7.391 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.8493, allocations: 1.219 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.8493, allocations: 1.531 kB / 1.367 GB, free: 14.27 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 6.652e-05/0.8494, allocations: 112.5 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.8494, allocations: 2.219 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.8494, allocations: 8.5 kB / 1.368 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8495, allocations: 6.125 kB / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8495, allocations: 3.938 kB / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.8495, allocations: 5.312 kB / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.8497, allocations: 357 kB / 1.368 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8497, allocations: 1.125 kB / 1.368 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.8498, allocations: 7.625 kB / 1.368 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8498, allocations: 5.25 kB / 1.368 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.8498, allocations: 1.188 kB / 1.368 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8498, allocations: 1.031 kB / 1.368 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8498, allocations: 5.281 kB / 1.368 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.305e-05/0.8499, allocations: 74.45 kB / 1.368 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.8499, allocations: 82.36 kB / 1.368 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.8499, allocations: 2.344 kB / 1.368 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.85, allocations: 4.5 kB / 1.368 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.85, allocations: 2.703 kB / 1.368 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.8501, allocations: 6 kB / 1.368 GB, free: 13.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.8501, allocations: 83.8 kB / 1.368 GB, free: 13.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8501, allocations: 3.938 kB / 1.368 GB, free: 13.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001687/0.8503, allocations: 10.03 kB / 1.368 GB, free: 13.46 MB / 1.076 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.0003314/0.8506, allocations: 0.6074 MB / 1.369 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.28e-05/0.8507, allocations: 19.52 kB / 1.369 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.8507, allocations: 0 / 1.369 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.8507, allocations: 4.688 kB / 1.369 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.8509, allocations: 4.25 kB / 1.369 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.8512, allocations: 157 kB / 1.369 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.8514, allocations: 0.6762 MB / 1.37 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.8515, allocations: 10.44 kB / 1.37 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.8515, allocations: 16.69 kB / 1.37 GB, free: 11.97 MB / 1.076 GB Notification: Performance of SimCode: time 2.1e-07/0.8515, allocations: 1.312 kB / 1.37 GB, free: 11.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9737/1.825, allocations: 1.462 MB / 1.371 GB, free: 11.6 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.94, allocations: 8.906 kB / 1.371 GB, free: 11.59 MB / 1.076 GB (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches