Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.005071/0.005071, allocations: 104.1 kB / 15.74 MB, free: 6.039 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.001052/0.001052, allocations: 196.2 kB / 16.67 MB, free: 5.957 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.84 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8542, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1615/1.016, allocations: 148.3 MB / 1.352 GB, free: 8.734 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/1.016, allocations: 51.73 kB / 1.352 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/1.016, allocations: 0 / 1.352 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/1.016, allocations: 11.92 kB / 1.352 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/1.016, allocations: 3.938 kB / 1.352 GB, free: 8.672 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/1.017, allocations: 215.2 kB / 1.352 GB, free: 8.461 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/1.018, allocations: 35.84 kB / 1.352 GB, free: 8.426 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/1.018, allocations: 4 kB / 1.352 GB, free: 8.422 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/1.018, allocations: 11.98 kB / 1.352 GB, free: 8.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/1.018, allocations: 11.92 kB / 1.352 GB, free: 8.398 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/1.018, allocations: 4 kB / 1.352 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/1.018, allocations: 195.4 kB / 1.353 GB, free: 8.203 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/1.018, allocations: 7.984 kB / 1.353 GB, free: 8.195 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/1.018, allocations: 23.92 kB / 1.353 GB, free: 8.172 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/1.019, allocations: 102.1 kB / 1.353 GB, free: 8.074 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.019, allocations: 0 / 1.353 GB, free: 8.074 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.901e-06/1.019, allocations: 0 / 1.353 GB, free: 8.074 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.019, allocations: 3.938 kB / 1.353 GB, free: 8.07 MB / 1.076 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.0006439/1.019, allocations: 347.5 kB / 1.353 GB, free: 7.684 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.019, allocations: 8.031 kB / 1.353 GB, free: 7.676 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/1.019, allocations: 30.75 kB / 1.353 GB, free: 7.637 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/1.02, allocations: 32.81 kB / 1.353 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.02, allocations: 172.1 kB / 1.353 GB, free: 7.398 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/1.02, allocations: 25.7 kB / 1.353 GB, free: 7.367 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/1.02, allocations: 4 kB / 1.353 GB, free: 7.363 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/1.02, allocations: 53.66 kB / 1.353 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.02, allocations: 0 / 1.353 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.02, allocations: 0 / 1.353 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/1.02, allocations: 4 kB / 1.353 GB, free: 7.301 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/1.02, allocations: 19.98 kB / 1.353 GB, free: 7.281 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/1.021, allocations: 268.8 kB / 1.354 GB, free: 6.969 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/1.021, allocations: 22.58 kB / 1.354 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/1.021, allocations: 8.922 kB / 1.354 GB, free: 6.926 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/1.021, allocations: 93.09 kB / 1.354 GB, free: 6.816 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/1.021, allocations: 34.56 kB / 1.354 GB, free: 6.773 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.021, allocations: 0 / 1.354 GB, free: 6.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/1.021, allocations: 53.62 kB / 1.354 GB, free: 6.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.021, allocations: 55.34 kB / 1.354 GB, free: 6.648 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/1.021, allocations: 105.8 kB / 1.354 GB, free: 6.535 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.021, allocations: 29.7 kB / 1.354 GB, free: 6.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/1.021, allocations: 88.2 kB / 1.354 GB, free: 6.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/1.021, allocations: 3.906 kB / 1.354 GB, free: 6.406 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/1.021, allocations: 21.7 kB / 1.354 GB, free: 6.379 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.022, allocations: 318.8 kB / 1.354 GB, free: 6.059 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/1.022, allocations: 0 / 1.354 GB, free: 6.059 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/1.022, allocations: 30.56 kB / 1.354 GB, free: 6.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/1.022, allocations: 34.52 kB / 1.354 GB, free: 5.977 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.022, allocations: 0 / 1.354 GB, free: 5.977 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.023e-05/1.022, allocations: 61.47 kB / 1.355 GB, free: 5.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.022, allocations: 4 kB / 1.355 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.022, allocations: 0 / 1.355 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.022, allocations: 4 kB / 1.355 GB, free: 5.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/1.022, allocations: 4 kB / 1.355 GB, free: 5.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.022, allocations: 8.031 kB / 1.355 GB, free: 5.891 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/1.022, allocations: 4 kB / 1.355 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/1.022, allocations: 0 / 1.355 GB, free: 5.887 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 8.091e-05/1.022, allocations: 113.8 kB / 1.355 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/1.022, allocations: 3.984 kB / 1.355 GB, free: 5.762 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/1.022, allocations: 3.125 kB / 1.355 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.022, allocations: 4 kB / 1.355 GB, free: 5.754 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.022, allocations: 7.875 kB / 1.355 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.022, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/1.022, allocations: 359.6 kB / 1.355 GB, free: 5.332 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.022, allocations: 4 kB / 1.355 GB, free: 5.328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/1.022, allocations: 11.88 kB / 1.355 GB, free: 5.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.022, allocations: 0 / 1.355 GB, free: 5.316 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/1.022, allocations: 4 kB / 1.355 GB, free: 5.312 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.022, allocations: 0 / 1.355 GB, free: 5.312 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/1.022, allocations: 0 / 1.355 GB, free: 5.312 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.58e-05/1.023, allocations: 73.95 kB / 1.355 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/1.023, allocations: 85.05 kB / 1.355 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.023, allocations: 0 / 1.355 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/1.023, allocations: 7.938 kB / 1.355 GB, free: 5.109 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/1.023, allocations: 4.281 kB / 1.355 GB, free: 5.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/1.023, allocations: 3.984 kB / 1.355 GB, free: 5.102 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.772e-05/1.023, allocations: 87.3 kB / 1.355 GB, free: 5.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.573e-06/1.023, allocations: 0 / 1.355 GB, free: 5.016 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001957/1.023, allocations: 11.94 kB / 1.355 GB, free: 5.004 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.0003874/1.023, allocations: 0.6094 MB / 1.356 GB, free: 4.363 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.298e-05/1.023, allocations: 15.94 kB / 1.356 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.023, allocations: 0 / 1.356 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/1.023, allocations: 11.98 kB / 1.356 GB, free: 4.336 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.024, allocations: 3.938 kB / 1.356 GB, free: 4.332 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/1.024, allocations: 161.4 kB / 1.356 GB, free: 4.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/1.025, allocations: 0.6806 MB / 1.357 GB, free: 3.422 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.738e-05/1.025, allocations: 4 kB / 1.357 GB, free: 3.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/1.025, allocations: 15.36 kB / 1.357 GB, free: 3.406 MB / 1.076 GB Notification: Performance of SimCode: time 2.11e-07/1.025, allocations: 0 / 1.357 GB, free: 3.406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/1.042, allocations: 1.462 MB / 1.358 GB, free: 2.055 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.51, allocations: 0 / 1.358 GB, free: 2.055 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches