Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.0008419/0.0008418, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005333/0.005333, allocations: 170 kB / 16.26 MB, free: 6.68 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8.281 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5377, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1245/0.6622, allocations: 144.2 MB / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.6623, allocations: 59.88 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.6624, allocations: 0 / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.401e-05/0.6624, allocations: 3.938 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.6625, allocations: 15.91 kB / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.6631, allocations: 198.8 kB / 1.096 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.6632, allocations: 59.88 kB / 1.096 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.998e-05/0.6632, allocations: 4 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.6633, allocations: 19.92 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.6633, allocations: 19.86 kB / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.6634, allocations: 0 / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.6637, allocations: 227.3 kB / 1.097 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.6638, allocations: 7.984 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.6638, allocations: 37.64 kB / 1.097 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.664, allocations: 126 kB / 1.097 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.664, allocations: 0 / 1.097 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.664, allocations: 4 kB / 1.097 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.664, allocations: 0 / 1.097 GB, free: 13.91 MB / 0.8575 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.0002824/0.6643, allocations: 339.4 kB / 1.097 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.6644, allocations: 8.031 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.6644, allocations: 38.73 kB / 1.097 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.6647, allocations: 24.91 kB / 1.097 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/0.6647, allocations: 164.1 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.6648, allocations: 41.64 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.6648, allocations: 0 / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.6649, allocations: 49.67 kB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.6649, allocations: 0 / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.665, allocations: 0 / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.665, allocations: 7.984 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.665, allocations: 19.98 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.6653, allocations: 256.9 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.6654, allocations: 30.5 kB / 1.098 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.6654, allocations: 8.922 kB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.6655, allocations: 89.09 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.6655, allocations: 34.56 kB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.315e-06/0.6655, allocations: 4 kB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.6657, allocations: 49.59 kB / 1.098 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.6658, allocations: 63.28 kB / 1.098 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.6659, allocations: 101.8 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.6659, allocations: 25.7 kB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.6659, allocations: 91.98 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.6659, allocations: 7.906 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.666, allocations: 9.719 kB / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.666, allocations: 315 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.6661, allocations: 11.98 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.6661, allocations: 18.58 kB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.6661, allocations: 30.52 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6661, allocations: 8 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.177e-05/0.6662, allocations: 53.62 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.6662, allocations: 4 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6662, allocations: 0 / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.056e-06/0.6662, allocations: 7.875 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.6663, allocations: 11.98 kB / 1.099 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6663, allocations: 3.938 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.6663, allocations: 4 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.6663, allocations: 0 / 1.099 GB, free: 11.74 MB / 0.8575 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 5.697e-05/0.6664, allocations: 117.9 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.6664, allocations: 0 / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.6665, allocations: 7.406 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.6665, allocations: 0 / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.6665, allocations: 7.922 kB / 1.099 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.6665, allocations: 4 kB / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.6667, allocations: 363.5 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6667, allocations: 0 / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.6668, allocations: 7.938 kB / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6668, allocations: 0 / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.6668, allocations: 0 / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.6668, allocations: 7.922 kB / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6668, allocations: 4 kB / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.6669, allocations: 70.03 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.6669, allocations: 81.05 kB / 1.099 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.6669, allocations: 4 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.667, allocations: 7.984 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.667, allocations: 0 / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.667, allocations: 4 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.052e-05/0.667, allocations: 79.28 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6671, allocations: 0 / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001804/0.6672, allocations: 12 kB / 1.099 GB, free: 10.86 MB / 0.8575 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.0002676/0.6675, allocations: 0.6093 MB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.861e-05/0.6676, allocations: 24.02 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6676, allocations: 4 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.6676, allocations: 4 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.6678, allocations: 5.812 kB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.6681, allocations: 166.9 kB / 1.1 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.6683, allocations: 0.6851 MB / 1.101 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.6683, allocations: 4 kB / 1.101 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.6684, allocations: 11.44 kB / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.6684, allocations: 0 / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9424/1.611, allocations: 1.252 MB / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/1.611, allocations: 204.2 kB / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/3.083, allocations: 0 / 1.102 GB, free: 7.875 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches