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.004361/0.004361, allocations: 97.41 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.001368/0.001368, allocations: 197.5 kB / 16.67 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.322/2.322, allocations: 437.1 MB / 0.7106 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5799/0.8128, allocations: 148.3 MB / 1.311 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.813, allocations: 51.52 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.813, allocations: 4 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.8131, allocations: 6.203 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.8132, allocations: 17.66 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.8139, allocations: 210.1 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.8139, allocations: 35.73 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.814, allocations: 7.391 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.814, allocations: 10.59 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.8141, allocations: 15.45 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.8141, allocations: 1.438 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.8144, allocations: 201.2 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.8145, allocations: 9.938 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.8145, allocations: 10.05 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.8147, allocations: 112.5 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8147, allocations: 5.578 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8147, allocations: 1.688 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.8147, allocations: 4 kB / 1.312 GB, free: 12.38 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.0003433/0.8151, allocations: 339.2 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.8151, allocations: 10.98 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.8152, allocations: 32.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.8154, allocations: 22.56 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.8155, allocations: 174.2 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.8156, allocations: 30.89 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-06/0.8156, allocations: 1.984 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.8157, allocations: 55 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.8157, allocations: 0 / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.8157, allocations: 2.031 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.8158, allocations: 1.219 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.8158, allocations: 23.03 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.8161, allocations: 264.1 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.8162, allocations: 23.3 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.8162, allocations: 8.531 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.8163, allocations: 94.45 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.8163, allocations: 35.78 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8164, allocations: 0 / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000198/0.8166, allocations: 53.94 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.8166, allocations: 53.12 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.8167, allocations: 104.4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.8167, allocations: 27.98 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.8167, allocations: 88 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.8168, allocations: 9.031 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.8168, allocations: 13.77 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8169, allocations: 321 kB / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.8169, allocations: 3.953 kB / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.817, allocations: 25.06 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.817, allocations: 34.92 kB / 1.313 GB, free: 10.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.817, allocations: 1.25 kB / 1.313 GB, free: 10.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.247e-05/0.8171, allocations: 56.94 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.8171, allocations: 5.188 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.8171, allocations: 0 / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.8171, allocations: 2 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.8172, allocations: 8.75 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8172, allocations: 5.922 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.8172, allocations: 5.203 kB / 1.313 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.8172, 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 7.059e-05/0.8173, allocations: 120.8 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.8173, allocations: 1.094 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.8173, allocations: 8.516 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8174, allocations: 4.812 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8174, allocations: 3.938 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8174, allocations: 1.766 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.8176, allocations: 357.9 kB / 1.314 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8177, allocations: 5.312 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.8177, allocations: 7.062 kB / 1.314 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8177, allocations: 5.734 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.8177, allocations: 1.469 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8177, allocations: 0 / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8177, allocations: 1.375 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.8178, allocations: 75.83 kB / 1.314 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.8178, allocations: 82.03 kB / 1.314 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8179, allocations: 2.25 kB / 1.314 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.8179, allocations: 6.438 kB / 1.314 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.8179, allocations: 2.203 kB / 1.314 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.818, allocations: 1.188 kB / 1.314 GB, free: 9.801 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.818, allocations: 84.62 kB / 1.314 GB, free: 9.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.818, allocations: 3.938 kB / 1.314 GB, free: 9.719 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001697/0.8182, allocations: 8.078 kB / 1.314 GB, free: 9.719 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.0003276/0.8185, allocations: 0.6088 MB / 1.315 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.8186, allocations: 18.95 kB / 1.315 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8186, allocations: 4.062 kB / 1.315 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.8186, allocations: 4.562 kB / 1.315 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.8188, allocations: 15.31 kB / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.8191, allocations: 143.3 kB / 1.315 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.8194, allocations: 0.676 MB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.8194, allocations: 10.05 kB / 1.316 GB, free: 8.258 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.8195, allocations: 10.25 kB / 1.316 GB, free: 8.25 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/0.8195, allocations: 0 / 1.316 GB, free: 8.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.686/4.506, allocations: 1.451 MB / 1.317 GB, free: 7.875 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/19.34, allocations: 13.03 kB / 1.317 GB, free: 7.867 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 & /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=400 --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