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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008827/0.0008829, 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.004891/0.004891, 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 8.875 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2755, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1476/0.4231, allocations: 144.2 MB / 1.2 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.4233, allocations: 47.86 kB / 1.2 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.4233, allocations: 0 / 1.2 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.522e-05/0.4234, allocations: 0 / 1.2 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.4235, allocations: 19.91 kB / 1.2 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.4242, allocations: 195.4 kB / 1.2 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.4243, allocations: 63.8 kB / 1.2 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.99e-05/0.4243, allocations: 4 kB / 1.2 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.4244, allocations: 11.94 kB / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.4244, allocations: 15.97 kB / 1.2 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.4245, allocations: 4 kB / 1.2 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.4249, allocations: 227.3 kB / 1.2 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.425, allocations: 11.98 kB / 1.2 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.425, allocations: 37.64 kB / 1.2 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.4253, allocations: 131.9 kB / 1.2 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4253, allocations: 0 / 1.2 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4253, allocations: 0 / 1.2 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.4253, allocations: 0 / 1.2 GB, free: 3.387 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.0003323/0.4257, allocations: 335.5 kB / 1.201 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4257, allocations: 15.97 kB / 1.201 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.4258, allocations: 38.69 kB / 1.201 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.4261, allocations: 20.91 kB / 1.201 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.4262, allocations: 172.1 kB / 1.201 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.4263, allocations: 25.7 kB / 1.201 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.4263, allocations: 0 / 1.201 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4264, allocations: 53.66 kB / 1.201 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4264, allocations: 4 kB / 1.201 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4264, allocations: 4 kB / 1.201 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4265, allocations: 3.938 kB / 1.201 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.4265, allocations: 19.98 kB / 1.201 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.4269, allocations: 260.8 kB / 1.201 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.4269, allocations: 30.58 kB / 1.201 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.427, allocations: 4.859 kB / 1.201 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4271, allocations: 97.16 kB / 1.201 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4271, allocations: 38.5 kB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4272, allocations: 0 / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002371/0.4274, allocations: 49.69 kB / 1.201 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.4275, allocations: 59.28 kB / 1.201 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.4275, allocations: 102 kB / 1.202 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4276, allocations: 25.7 kB / 1.202 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.4276, allocations: 92.05 kB / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.4276, allocations: 3.906 kB / 1.202 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.4277, allocations: 13.7 kB / 1.202 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4278, allocations: 318.8 kB / 1.202 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.4278, allocations: 0 / 1.202 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.4278, allocations: 34.5 kB / 1.202 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.4279, allocations: 26.58 kB / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4279, allocations: 0 / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.693e-05/0.428, allocations: 53.91 kB / 1.202 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.428, allocations: 4 kB / 1.202 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.428, allocations: 96 / 1.202 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.428, allocations: 8 kB / 1.202 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.4281, allocations: 8 kB / 1.202 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4281, allocations: 7.875 kB / 1.202 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.4282, allocations: 7.938 kB / 1.202 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4282, allocations: 3.984 kB / 1.202 GB, free: 1.211 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 7.464e-05/0.4282, allocations: 113.8 kB / 1.202 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4283, allocations: 3.906 kB / 1.202 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.4283, allocations: 11.12 kB / 1.202 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4283, allocations: 4 kB / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4283, allocations: 3.938 kB / 1.202 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4283, allocations: 0 / 1.202 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.4286, allocations: 363.5 kB / 1.203 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4286, allocations: 0 / 1.203 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.4287, allocations: 7.938 kB / 1.203 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4287, allocations: 0 / 1.203 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4287, allocations: 4 kB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4287, allocations: 4.062 kB / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4287, allocations: 0 / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.4288, allocations: 69.92 kB / 1.203 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.4288, allocations: 85.05 kB / 1.203 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.4289, allocations: 0 / 1.203 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.429, allocations: 4 kB / 1.203 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.429, allocations: 11.95 kB / 1.203 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.429, allocations: 8 kB / 1.203 GB, free: 432 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.429, allocations: 83.28 kB / 1.203 GB, free: 348 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.429, allocations: 0 / 1.203 GB, free: 348 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001937/0.4292, allocations: 4 kB / 1.203 GB, free: 344 kB / 0.9512 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.0003845/0.4296, allocations: 0.6131 MB / 1.203 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.4297, allocations: 16 kB / 1.203 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4297, allocations: 0 / 1.203 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.4297, allocations: 11.92 kB / 1.203 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.43, allocations: 12.11 kB / 1.204 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.4303, allocations: 155.1 kB / 1.204 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4306, allocations: 0.677 MB / 1.204 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.12e-05/0.4307, allocations: 11.98 kB / 1.204 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.4307, allocations: 7.438 kB / 1.204 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.4307, allocations: 0 / 1.204 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/0.5997, allocations: 1.245 MB / 1.206 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.6, allocations: 214.4 kB / 1.206 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.239, allocations: 0 / 1.206 GB, free: 13.37 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