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.007498/0.007498, allocations: 98.77 kB / 15.73 MB, free: 6.047 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.002065/0.002065, allocations: 194.3 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.458/1.458, 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 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8334/1.166, allocations: 148.3 MB / 1.311 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/1.166, allocations: 49.23 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/1.166, allocations: 0 / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/1.166, allocations: 9.719 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/1.166, allocations: 13.36 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/1.167, allocations: 209.6 kB / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.345e-05/1.167, allocations: 32.12 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/1.167, allocations: 3.844 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/1.167, allocations: 12.14 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/1.167, allocations: 21.8 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/1.167, allocations: 5.281 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/1.168, allocations: 196.7 kB / 1.311 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/1.168, allocations: 9.047 kB / 1.311 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/1.168, allocations: 9.531 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/1.168, allocations: 117.9 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.168, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.052e-06/1.168, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.729e-06/1.168, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 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.0004547/1.169, allocations: 339.4 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.169, allocations: 18 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/1.169, allocations: 32.48 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/1.169, allocations: 27.27 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/1.169, allocations: 166.5 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/1.169, allocations: 31.25 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/1.169, allocations: 1.125 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/1.17, allocations: 54 kB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.17, allocations: 0 / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.17, allocations: 5.062 kB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/1.17, allocations: 1.984 kB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/1.17, allocations: 21.5 kB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/1.17, allocations: 261 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/1.17, allocations: 21.17 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/1.17, allocations: 19.47 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.17, allocations: 90.84 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.17, allocations: 32.41 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.17, allocations: 0 / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002675/1.171, allocations: 46.69 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.171, allocations: 51.53 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/1.171, allocations: 111 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.171, allocations: 26.86 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/1.171, allocations: 93.05 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/1.171, allocations: 5.797 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/1.171, allocations: 18.2 kB / 1.313 GB, free: 10.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.171, allocations: 312.6 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/1.171, allocations: 7.891 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/1.171, allocations: 30.47 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/1.171, allocations: 27.81 kB / 1.313 GB, free: 10.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.171, allocations: 0 / 1.313 GB, free: 10.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.238e-05/1.172, allocations: 52.97 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.172, allocations: 5.953 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.172, allocations: 5.562 kB / 1.313 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.172, allocations: 5.359 kB / 1.313 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/1.172, allocations: 9.844 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.172, allocations: 5.156 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/1.172, allocations: 13.5 kB / 1.313 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.172, allocations: 2.219 kB / 1.313 GB, free: 10.51 MB / 1.014 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 9.267e-05/1.172, allocations: 108.9 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/1.172, allocations: 1.156 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/1.172, allocations: 12.73 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.172, allocations: 1.25 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.172, allocations: 3.938 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.172, allocations: 0.5156 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/1.172, allocations: 364.2 kB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.172, allocations: 1.281 kB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/1.172, allocations: 3.484 kB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.172, allocations: 5.125 kB / 1.314 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/1.172, allocations: 4.062 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.172, allocations: 1.125 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/1.172, allocations: 4.188 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/1.172, allocations: 73.25 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/1.173, allocations: 82.72 kB / 1.314 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/1.173, allocations: 5.438 kB / 1.314 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/1.173, allocations: 7.703 kB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/1.173, allocations: 2 kB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/1.173, allocations: 1.156 kB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.402e-05/1.173, allocations: 81.77 kB / 1.314 GB, free: 9.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.173, allocations: 0 / 1.314 GB, free: 9.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001998/1.173, allocations: 9.375 kB / 1.314 GB, free: 9.73 MB / 1.014 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.0004433/1.173, allocations: 0.6123 MB / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.442e-05/1.173, allocations: 14.53 kB / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.173, allocations: 5.062 kB / 1.315 GB, free: 9.121 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/1.174, allocations: 8.672 kB / 1.315 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.174, allocations: 11.14 kB / 1.315 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/1.174, allocations: 139.5 kB / 1.315 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.175, allocations: 0.6767 MB / 1.316 GB, free: 8.273 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.238e-05/1.175, allocations: 9.391 kB / 1.316 GB, free: 8.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/1.175, allocations: 9.391 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/1.175, allocations: 1.344 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/1.197, allocations: 1.461 MB / 1.317 GB, free: 7.883 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.907, allocations: 6.016 kB / 1.317 GB, free: 7.879 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/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