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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001077/0.001077, allocations: 189 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.005/2.005, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.514/4.514, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002153, allocations: 63.77 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.438, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.162/0.6, allocations: 146.2 MB / 1.195 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.6002, allocations: 51.75 kB / 1.195 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.6003, allocations: 0 / 1.195 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.6004, allocations: 7.938 kB / 1.195 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.6005, allocations: 11.91 kB / 1.195 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.6013, allocations: 198.4 kB / 1.195 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.619e-05/0.6014, allocations: 35.84 kB / 1.195 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.6014, allocations: 4 kB / 1.195 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.6015, allocations: 23.91 kB / 1.195 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.6016, allocations: 8 kB / 1.195 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.6016, allocations: 0 / 1.195 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.602, allocations: 207.4 kB / 1.196 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.6021, allocations: 7.984 kB / 1.196 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.6021, allocations: 11.94 kB / 1.196 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.6024, allocations: 131.9 kB / 1.196 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6024, allocations: 7.938 kB / 1.196 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6024, allocations: 0 / 1.196 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6024, allocations: 0 / 1.196 GB, free: 5.203 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.000399/0.6028, allocations: 343.5 kB / 1.196 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6029, allocations: 12.61 kB / 1.196 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.6029, allocations: 34.75 kB / 1.196 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.6032, allocations: 20.91 kB / 1.196 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6033, allocations: 172 kB / 1.196 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.6034, allocations: 25.7 kB / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6034, allocations: 0 / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6036, allocations: 49.69 kB / 1.196 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6036, allocations: 0 / 1.196 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6036, allocations: 0 / 1.196 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6036, allocations: 7.984 kB / 1.196 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.6037, allocations: 27.91 kB / 1.197 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.6041, allocations: 252.9 kB / 1.197 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.6041, allocations: 30.56 kB / 1.197 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.6042, allocations: 8.922 kB / 1.197 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.6043, allocations: 93.09 kB / 1.197 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6044, allocations: 34.56 kB / 1.197 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.6044, allocations: 3.938 kB / 1.197 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.6046, allocations: 53.72 kB / 1.197 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.6047, allocations: 59.34 kB / 1.197 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.6048, allocations: 97.84 kB / 1.197 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.6048, allocations: 29.7 kB / 1.197 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.6049, allocations: 88.05 kB / 1.197 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.6049, allocations: 3.906 kB / 1.197 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.6049, allocations: 17.72 kB / 1.197 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.605, allocations: 310.8 kB / 1.198 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.605, allocations: 12.02 kB / 1.198 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.6051, allocations: 26.52 kB / 1.198 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.6051, allocations: 30.52 kB / 1.198 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6051, allocations: 0 / 1.198 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.468e-05/0.6052, allocations: 57.62 kB / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6052, allocations: 8 kB / 1.198 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6053, allocations: 0 / 1.198 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6053, allocations: 0 / 1.198 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.6053, allocations: 11.98 kB / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6054, allocations: 3.938 kB / 1.198 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.6054, allocations: 11.78 kB / 1.198 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.6054, allocations: 4 kB / 1.198 GB, free: 3.027 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 8.23e-05/0.6055, allocations: 109.8 kB / 1.198 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.6055, allocations: 12.09 kB / 1.198 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.6056, allocations: 3.125 kB / 1.198 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6056, allocations: 0 / 1.198 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6056, allocations: 3.938 kB / 1.198 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6056, allocations: 3.984 kB / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.6059, allocations: 363.6 kB / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6059, allocations: 0 / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.6059, allocations: 8 kB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6059, allocations: 4 kB / 1.198 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.6059, allocations: 3.984 kB / 1.198 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6059, allocations: 0 / 1.198 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.606, allocations: 0 / 1.198 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.584e-05/0.606, allocations: 69.94 kB / 1.198 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.6061, allocations: 84.95 kB / 1.198 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.6061, allocations: 11.95 kB / 1.198 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.6062, allocations: 8 kB / 1.198 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.6062, allocations: 0 / 1.198 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.6062, allocations: 4 kB / 1.198 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.6063, allocations: 83.27 kB / 1.198 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6063, allocations: 0 / 1.198 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001973/0.6065, allocations: 4 kB / 1.198 GB, free: 2.156 MB / 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.0003835/0.6069, allocations: 0.6098 MB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.607, allocations: 19.94 kB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.607, allocations: 0 / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.607, allocations: 12.16 kB / 1.199 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.6072, allocations: 4 kB / 1.199 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.6076, allocations: 149.1 kB / 1.199 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6079, allocations: 0.6806 MB / 1.2 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.608, allocations: 12.11 kB / 1.2 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.608, allocations: 7.438 kB / 1.2 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.608, allocations: 0 / 1.2 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.76/2.368, allocations: 1.35 MB / 1.201 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/2.368, allocations: 218 kB / 1.201 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/6.529, allocations: 0 / 1.201 GB, free: 15.09 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