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.009092/0.009092, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.00204/0.00204, allocations: 200 kB / 16.68 MB, free: 5.922 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.84 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8427, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1696/1.012, allocations: 148.3 MB / 1.352 GB, free: 8.703 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/1.013, allocations: 55.8 kB / 1.352 GB, free: 8.648 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/1.013, allocations: 0 / 1.352 GB, free: 8.648 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/1.013, allocations: 0 / 1.352 GB, free: 8.648 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.246e-05/1.013, allocations: 15.91 kB / 1.352 GB, free: 8.633 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/1.014, allocations: 214.6 kB / 1.352 GB, free: 8.426 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/1.014, allocations: 35.84 kB / 1.352 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/1.014, allocations: 7.984 kB / 1.352 GB, free: 8.383 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/1.014, allocations: 15.92 kB / 1.352 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/1.014, allocations: 7.984 kB / 1.352 GB, free: 8.359 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/1.014, allocations: 4 kB / 1.352 GB, free: 8.355 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/1.015, allocations: 195.4 kB / 1.353 GB, free: 8.164 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/1.015, allocations: 11.98 kB / 1.353 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/1.015, allocations: 7.938 kB / 1.353 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/1.015, allocations: 122 kB / 1.353 GB, free: 8.027 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.015, allocations: 0 / 1.353 GB, free: 8.027 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/1.015, allocations: 0 / 1.353 GB, free: 8.027 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.015, allocations: 3.938 kB / 1.353 GB, free: 8.023 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.0004786/1.016, allocations: 343.5 kB / 1.353 GB, free: 7.641 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.016, allocations: 8.031 kB / 1.353 GB, free: 7.633 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/1.016, allocations: 34.75 kB / 1.353 GB, free: 7.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/1.016, allocations: 32.81 kB / 1.353 GB, free: 7.559 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.016, allocations: 164.1 kB / 1.353 GB, free: 7.359 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/1.016, allocations: 29.7 kB / 1.353 GB, free: 7.324 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/1.016, allocations: 0 / 1.353 GB, free: 7.324 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.016, allocations: 49.67 kB / 1.353 GB, free: 7.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.016, allocations: 0 / 1.353 GB, free: 7.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.016, allocations: 0 / 1.353 GB, free: 7.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/1.016, allocations: 11.92 kB / 1.353 GB, free: 7.258 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/1.016, allocations: 23.98 kB / 1.353 GB, free: 7.234 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/1.017, allocations: 260.9 kB / 1.354 GB, free: 6.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/1.017, allocations: 22.58 kB / 1.354 GB, free: 6.898 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/1.017, allocations: 8.922 kB / 1.354 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/1.017, allocations: 93.09 kB / 1.354 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.017, allocations: 34.56 kB / 1.354 GB, free: 6.734 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.017, allocations: 3.938 kB / 1.354 GB, free: 6.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002584/1.017, allocations: 45.69 kB / 1.354 GB, free: 6.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.017, allocations: 55.34 kB / 1.354 GB, free: 6.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/1.018, allocations: 109.8 kB / 1.354 GB, free: 6.496 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.018, allocations: 25.7 kB / 1.354 GB, free: 6.465 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/1.018, allocations: 92.2 kB / 1.354 GB, free: 6.371 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/1.018, allocations: 3.906 kB / 1.354 GB, free: 6.367 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/1.018, allocations: 13.72 kB / 1.354 GB, free: 6.348 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.018, allocations: 330.8 kB / 1.354 GB, free: 6.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/1.018, allocations: 0 / 1.354 GB, free: 6.016 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/1.018, allocations: 30.58 kB / 1.354 GB, free: 5.977 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/1.018, allocations: 38.5 kB / 1.354 GB, free: 5.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.018, allocations: 0 / 1.354 GB, free: 5.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/1.018, allocations: 53.55 kB / 1.355 GB, free: 5.871 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.018, allocations: 9.547 kB / 1.355 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.018, allocations: 0 / 1.355 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.018, allocations: 4 kB / 1.355 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/1.018, allocations: 4.094 kB / 1.355 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.018, allocations: 11.88 kB / 1.355 GB, free: 5.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/1.018, allocations: 4 kB / 1.355 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/1.018, allocations: 0 / 1.355 GB, free: 5.84 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.791e-05/1.018, allocations: 109.8 kB / 1.355 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/1.018, allocations: 0 / 1.355 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/1.018, allocations: 11.12 kB / 1.355 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.018, allocations: 7.922 kB / 1.355 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.018, allocations: 3.938 kB / 1.355 GB, free: 5.699 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.018, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/1.019, allocations: 359.6 kB / 1.355 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.019, allocations: 0 / 1.355 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/1.019, allocations: 11.92 kB / 1.355 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.019, allocations: 0 / 1.355 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.019, allocations: 4 kB / 1.355 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.019, allocations: 0 / 1.355 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.019, allocations: 0 / 1.355 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.703e-05/1.019, allocations: 73.91 kB / 1.355 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/1.019, allocations: 89.03 kB / 1.355 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.019, allocations: 0 / 1.355 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/1.019, allocations: 4 kB / 1.355 GB, free: 5.066 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/1.019, allocations: 0 / 1.355 GB, free: 5.066 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/1.019, allocations: 0 / 1.355 GB, free: 5.066 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001099/1.019, allocations: 91.58 kB / 1.355 GB, free: 4.977 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.355 GB, free: 4.977 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002096/1.019, allocations: 8 kB / 1.355 GB, free: 4.969 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.0005149/1.02, allocations: 0.6095 MB / 1.356 GB, free: 4.328 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.02, allocations: 19.88 kB / 1.356 GB, free: 4.309 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.02, allocations: 0 / 1.356 GB, free: 4.309 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/1.02, allocations: 7.938 kB / 1.356 GB, free: 4.301 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.02, allocations: 19.86 kB / 1.356 GB, free: 4.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/1.021, allocations: 153.5 kB / 1.356 GB, free: 4.086 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/1.021, allocations: 0.6806 MB / 1.357 GB, free: 3.379 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.075e-05/1.021, allocations: 4 kB / 1.357 GB, free: 3.375 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/1.021, allocations: 7.438 kB / 1.357 GB, free: 3.371 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/1.021, allocations: 0 / 1.357 GB, free: 3.371 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/1.039, allocations: 1.472 MB / 1.358 GB, free: 2.008 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/8.598, allocations: 0 / 1.358 GB, free: 2.008 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