Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.00131/0.00131, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.14 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4528, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1248/0.5776, allocations: 148.3 MB / 1.095 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.5778, allocations: 63.8 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.5778, allocations: 0 / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.039e-05/0.5779, allocations: 0 / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.578, allocations: 19.91 kB / 1.095 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.5786, allocations: 207.2 kB / 1.095 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.5787, allocations: 35.84 kB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.5787, allocations: 4 kB / 1.095 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.5788, allocations: 19.98 kB / 1.095 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.5788, allocations: 11.92 kB / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.5788, allocations: 0 / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.5792, allocations: 203.4 kB / 1.095 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.5793, allocations: 7.984 kB / 1.095 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.5793, allocations: 7.938 kB / 1.095 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.5795, allocations: 118 kB / 1.095 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5795, allocations: 0 / 1.095 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5795, allocations: 0 / 1.095 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.5795, allocations: 8 kB / 1.095 GB, free: 12.3 MB / 0.8575 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.0003121/0.5799, allocations: 343.4 kB / 1.096 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5799, allocations: 12.03 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.5799, allocations: 34.75 kB / 1.096 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.5802, allocations: 20.91 kB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.5803, allocations: 168.1 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.5804, allocations: 25.7 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.5804, allocations: 4 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.5805, allocations: 49.67 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.5805, allocations: 4 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5805, allocations: 0 / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5806, allocations: 3.938 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.5806, allocations: 19.98 kB / 1.096 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.5809, allocations: 268.8 kB / 1.096 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.581, allocations: 30.58 kB / 1.096 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.581, allocations: 4.859 kB / 1.096 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.5811, allocations: 93.16 kB / 1.096 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5812, allocations: 34.5 kB / 1.096 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5812, allocations: 0 / 1.096 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002065/0.5814, allocations: 53.69 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5814, allocations: 55.34 kB / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.5815, allocations: 101.8 kB / 1.096 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5815, allocations: 25.7 kB / 1.096 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.5816, allocations: 95.98 kB / 1.097 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.5816, allocations: 3.906 kB / 1.097 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.5816, allocations: 17.7 kB / 1.097 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.5817, allocations: 319 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.5817, allocations: 4 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.5817, allocations: 26.5 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.5818, allocations: 26.58 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5818, allocations: 0 / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.315e-05/0.5819, allocations: 61.62 kB / 1.097 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5819, allocations: 8 kB / 1.097 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.5819, allocations: 4.219 kB / 1.097 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5819, allocations: 0 / 1.097 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.582, allocations: 8 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.582, allocations: 7.875 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.582, allocations: 0 / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.582, allocations: 4 kB / 1.097 GB, free: 10.13 MB / 0.8575 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.828e-05/0.5821, allocations: 117.9 kB / 1.097 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.5821, allocations: 7.984 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.5821, allocations: 7.125 kB / 1.097 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.5821, allocations: 0 / 1.097 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5821, allocations: 3.938 kB / 1.097 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5822, allocations: 0 / 1.097 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.5824, allocations: 367.5 kB / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.5824, allocations: 4.062 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.5824, allocations: 7.938 kB / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5824, allocations: 0 / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.5825, allocations: 0 / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5825, allocations: 0 / 1.098 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5825, allocations: 4 kB / 1.098 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.5825, allocations: 77.92 kB / 1.098 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.5826, allocations: 81.05 kB / 1.098 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.5826, allocations: 4 kB / 1.098 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.5827, allocations: 0 / 1.098 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.5827, allocations: 7.984 kB / 1.098 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5827, allocations: 4 kB / 1.098 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.5827, allocations: 83.28 kB / 1.098 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5827, allocations: 0 / 1.098 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001791/0.5829, allocations: 4 kB / 1.098 GB, free: 9.254 MB / 0.8575 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.0002765/0.5832, allocations: 0.6172 MB / 1.098 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.5833, allocations: 11.98 kB / 1.098 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5833, allocations: 4.219 kB / 1.098 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.5833, allocations: 7.938 kB / 1.098 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.5835, allocations: 13.34 kB / 1.098 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.5838, allocations: 141.2 kB / 1.099 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.584, allocations: 0.6808 MB / 1.099 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.5841, allocations: 11.98 kB / 1.099 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.5841, allocations: 11.38 kB / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.5841, allocations: 0 / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.783/2.367, allocations: 1.424 MB / 1.101 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/10.76, allocations: 4.062 kB / 1.101 GB, free: 6.305 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches