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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.402/2.402, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 61.45 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2275, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1364/0.3639, allocations: 148.3 MB / 1.198 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.3641, allocations: 59.84 kB / 1.198 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.3642, allocations: 0 / 1.198 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.3643, allocations: 3.938 kB / 1.198 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.3644, allocations: 15.92 kB / 1.198 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.3651, allocations: 211.2 kB / 1.198 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.3652, allocations: 35.86 kB / 1.198 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.3652, allocations: 0 / 1.198 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.3653, allocations: 23.91 kB / 1.198 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.3653, allocations: 8 kB / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3653, allocations: 0 / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.3657, allocations: 203.4 kB / 1.198 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.3658, allocations: 8 kB / 1.198 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.3658, allocations: 15.91 kB / 1.198 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.366, allocations: 112 kB / 1.198 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.366, allocations: 0 / 1.198 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.422e-06/0.366, allocations: 0 / 1.198 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.366, allocations: 0 / 1.198 GB, free: 2.734 MB / 0.9512 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.000352/0.3664, allocations: 339.5 kB / 1.199 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3665, allocations: 12.62 kB / 1.199 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.3665, allocations: 38.69 kB / 1.199 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.3668, allocations: 20.91 kB / 1.199 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3669, allocations: 184 kB / 1.199 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.367, allocations: 25.7 kB / 1.199 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.367, allocations: 0 / 1.199 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.3671, allocations: 49.67 kB / 1.199 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3671, allocations: 0 / 1.199 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3671, allocations: 4 kB / 1.199 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3671, allocations: 4 kB / 1.199 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.3672, allocations: 23.92 kB / 1.199 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3675, allocations: 256.9 kB / 1.199 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.3675, allocations: 22.58 kB / 1.199 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.3676, allocations: 16.83 kB / 1.199 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.3677, allocations: 93.17 kB / 1.199 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3677, allocations: 34.55 kB / 1.199 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3677, allocations: 3.938 kB / 1.199 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002088/0.368, allocations: 53.62 kB / 1.199 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.368, allocations: 55.34 kB / 1.2 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.3681, allocations: 102 kB / 1.2 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3681, allocations: 25.7 kB / 1.2 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3681, allocations: 92.03 kB / 1.2 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/0.3681, allocations: 3.906 kB / 1.2 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3682, allocations: 17.72 kB / 1.2 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.3683, allocations: 310.8 kB / 1.2 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.3683, allocations: 8 kB / 1.2 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.3683, allocations: 26.56 kB / 1.2 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.3683, allocations: 30.52 kB / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3684, allocations: 0 / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.209e-05/0.3684, allocations: 53.62 kB / 1.2 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3684, allocations: 9.25 kB / 1.2 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3685, allocations: 96 / 1.2 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.3685, allocations: 4 kB / 1.2 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.3685, allocations: 8 kB / 1.2 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3685, allocations: 11.92 kB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3686, allocations: 7.844 kB / 1.2 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3686, allocations: 4 kB / 1.2 GB, free: 0.5508 MB / 0.9512 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 6.352e-05/0.3686, allocations: 113.8 kB / 1.2 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3687, allocations: 4 kB / 1.2 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.3687, allocations: 7.125 kB / 1.2 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3687, allocations: 4 kB / 1.2 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3687, allocations: 3.938 kB / 1.2 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3687, allocations: 0 / 1.2 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.369, allocations: 359.6 kB / 1.201 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.369, allocations: 0 / 1.201 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.369, allocations: 8.047 kB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.369, allocations: 3.938 kB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.369, allocations: 0 / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3691, allocations: 4.062 kB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3691, allocations: 0 / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.839e-05/0.3691, allocations: 73.98 kB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.3692, allocations: 84.95 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3692, allocations: 7.938 kB / 1.201 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3693, allocations: 3.984 kB / 1.201 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.3693, allocations: 11.97 kB / 1.201 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.3693, allocations: 0 / 1.201 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.3693, allocations: 79.28 kB / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3693, allocations: 0 / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001929/0.3695, allocations: 8 kB / 1.201 GB, free: 15.68 MB / 0.9669 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.0003023/0.3698, allocations: 0.6055 MB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.3699, allocations: 23.92 kB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3699, allocations: 0 / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.37, allocations: 4 kB / 1.202 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3701, allocations: 4.344 kB / 1.202 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3704, allocations: 157 kB / 1.202 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.3706, allocations: 0.6729 MB / 1.202 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.434e-05/0.3707, allocations: 20.39 kB / 1.202 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.3707, allocations: 11.44 kB / 1.202 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3707, allocations: 0 / 1.202 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/0.6755, allocations: 1.428 MB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.992, allocations: 9.625 kB / 1.204 GB, free: 12.74 MB / 0.9669 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