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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00134/0.00134, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008298/0.008298, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003441, allocations: 8.281 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6453, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.149/0.7944, allocations: 144.2 MB / 1.164 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000116/0.7945, allocations: 47.88 kB / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.7946, allocations: 0 / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.7947, allocations: 3.984 kB / 1.164 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.7947, allocations: 11.92 kB / 1.164 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.7954, allocations: 206.8 kB / 1.164 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.7955, allocations: 63.8 kB / 1.164 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.7956, allocations: 0 / 1.164 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.7956, allocations: 15.94 kB / 1.164 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.7957, allocations: 15.97 kB / 1.164 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.7957, allocations: 4 kB / 1.164 GB, free: 14.87 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.7962, allocations: 235.3 kB / 1.164 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.7962, allocations: 4 kB / 1.164 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.7963, allocations: 37.62 kB / 1.165 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.7965, allocations: 130 kB / 1.165 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7965, allocations: 0 / 1.165 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7965, allocations: 0 / 1.165 GB, free: 14.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.7965, allocations: 0 / 1.165 GB, free: 14.47 MB / 0.92 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.0003547/0.7969, allocations: 339.5 kB / 1.165 GB, free: 14.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7969, allocations: 12.03 kB / 1.165 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.797, allocations: 34.69 kB / 1.165 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.7973, allocations: 24.91 kB / 1.165 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.7974, allocations: 164.1 kB / 1.165 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.7975, allocations: 25.7 kB / 1.165 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.7975, allocations: 7.984 kB / 1.165 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.7976, allocations: 49.67 kB / 1.165 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.7976, allocations: 0 / 1.165 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7976, allocations: 4 kB / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.7977, allocations: 4 kB / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.7977, allocations: 23.92 kB / 1.165 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.798, allocations: 264.8 kB / 1.166 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.7981, allocations: 18.58 kB / 1.166 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.7981, allocations: 8.922 kB / 1.166 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.7983, allocations: 97.09 kB / 1.166 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.7983, allocations: 30.56 kB / 1.166 GB, free: 13.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.7983, allocations: 0 / 1.166 GB, free: 13.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.7986, allocations: 57.61 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.7986, allocations: 55.34 kB / 1.166 GB, free: 13.06 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.7987, allocations: 113.9 kB / 1.166 GB, free: 12.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7987, allocations: 25.7 kB / 1.166 GB, free: 12.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.7988, allocations: 87.98 kB / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.7988, allocations: 3.906 kB / 1.166 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.7988, allocations: 17.66 kB / 1.166 GB, free: 12.79 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7989, allocations: 318.8 kB / 1.166 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.7989, allocations: 4 kB / 1.166 GB, free: 12.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.799, allocations: 22.58 kB / 1.166 GB, free: 12.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.799, allocations: 34.5 kB / 1.166 GB, free: 12.39 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.799, allocations: 0 / 1.166 GB, free: 12.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.157e-05/0.7991, allocations: 57.62 kB / 1.166 GB, free: 12.33 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7991, allocations: 8 kB / 1.166 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7991, allocations: 96 / 1.166 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.7992, allocations: 4 kB / 1.166 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.7992, allocations: 8 kB / 1.166 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7992, allocations: 3.938 kB / 1.166 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.7993, allocations: 0 / 1.166 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.7993, allocations: 8 kB / 1.166 GB, free: 12.3 MB / 0.92 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.005e-05/0.7994, allocations: 110.3 kB / 1.167 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.7994, allocations: 4 kB / 1.167 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.7994, allocations: 11.11 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7994, allocations: 4 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7994, allocations: 3.938 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7994, allocations: 0 / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.7997, allocations: 367.5 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7997, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.7998, allocations: 7.938 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7998, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.7998, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7998, allocations: 4.062 kB / 1.167 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7998, allocations: 0 / 1.167 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.7999, allocations: 69.98 kB / 1.167 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.7999, allocations: 81.05 kB / 1.167 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.7999, allocations: 4 kB / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.8, allocations: 0 / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.8, allocations: 11.97 kB / 1.167 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.8001, allocations: 0 / 1.167 GB, free: 11.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.8001, allocations: 87.27 kB / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8001, allocations: 0 / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001986/0.8003, allocations: 8 kB / 1.167 GB, free: 11.43 MB / 0.92 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.0003322/0.8006, allocations: 0.6171 MB / 1.168 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.8007, allocations: 11.94 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8007, allocations: 0 / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.8008, allocations: 4 kB / 1.168 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.801, allocations: 17.81 kB / 1.168 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.8013, allocations: 163 kB / 1.168 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.8015, allocations: 0.677 MB / 1.169 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.8016, allocations: 12.41 kB / 1.169 GB, free: 9.824 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.8017, allocations: 15.42 kB / 1.169 GB, free: 9.809 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.8017, allocations: 0 / 1.169 GB, free: 9.809 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.8146, allocations: 1.244 MB / 1.17 GB, free: 8.699 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.815, allocations: 203.4 kB / 1.17 GB, free: 8.445 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/3.868, allocations: 0 / 1.17 GB, free: 8.445 MB / 0.92 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=50 --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