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.001001/0.001001, 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.007767/0.007767, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 443.4 MB / 0.7176 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 8.688 kB / 0.8797 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 155.2 MB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2229/0.4617, allocations: 144.2 MB / 1.172 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.4619, allocations: 55.86 kB / 1.172 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.4619, allocations: 0 / 1.172 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.462, allocations: 0 / 1.172 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.4621, allocations: 7.922 kB / 1.172 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.4629, allocations: 199.4 kB / 1.172 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.463, allocations: 59.81 kB / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.463, allocations: 0 / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.4631, allocations: 23.91 kB / 1.172 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.4631, allocations: 15.98 kB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4631, allocations: 0 / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.4636, allocations: 227.3 kB / 1.173 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.4637, allocations: 11.98 kB / 1.173 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.4637, allocations: 41.62 kB / 1.173 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.464, allocations: 131.9 kB / 1.173 GB, free: 2.734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.464, allocations: 0 / 1.173 GB, free: 2.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.464, allocations: 0 / 1.173 GB, free: 2.734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.464, allocations: 0 / 1.173 GB, free: 2.734 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.0003565/0.4643, allocations: 339.5 kB / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4644, allocations: 8.031 kB / 1.173 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.4644, allocations: 34.69 kB / 1.173 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.4647, allocations: 32.91 kB / 1.173 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4649, allocations: 168.1 kB / 1.173 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.4649, allocations: 25.7 kB / 1.173 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.4649, allocations: 4 kB / 1.173 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.4651, allocations: 49.67 kB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.4651, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4651, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4651, allocations: 4 kB / 1.173 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.4652, allocations: 27.92 kB / 1.173 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.4655, allocations: 256.8 kB / 1.174 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.4656, allocations: 30.59 kB / 1.174 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.4656, allocations: 8.922 kB / 1.174 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.4657, allocations: 93.09 kB / 1.174 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4658, allocations: 30.56 kB / 1.174 GB, free: 1.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4658, allocations: 0 / 1.174 GB, free: 1.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002245/0.466, allocations: 53.62 kB / 1.174 GB, free: 1.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4661, allocations: 55.34 kB / 1.174 GB, free: 1.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.4661, allocations: 105.8 kB / 1.174 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4662, allocations: 25.7 kB / 1.174 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.4662, allocations: 88.17 kB / 1.174 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.4662, allocations: 11.84 kB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.4663, allocations: 17.66 kB / 1.174 GB, free: 1.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4664, allocations: 310.8 kB / 1.174 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.4664, allocations: 11.98 kB / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.4664, allocations: 18.58 kB / 1.174 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.4665, allocations: 38.5 kB / 1.175 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4665, allocations: 0 / 1.175 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.688e-05/0.4666, allocations: 49.64 kB / 1.175 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4666, allocations: 8 kB / 1.175 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4666, allocations: 0 / 1.175 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4666, allocations: 3.984 kB / 1.175 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.4667, allocations: 8 kB / 1.175 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4667, allocations: 8.031 kB / 1.175 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.4667, allocations: 0 / 1.175 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4667, allocations: 4 kB / 1.175 GB, free: 0.5703 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 8.055e-05/0.4668, allocations: 117.7 kB / 1.175 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.4669, allocations: 7.906 kB / 1.175 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.4669, allocations: 3.125 kB / 1.175 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4669, allocations: 0 / 1.175 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4669, allocations: 7.875 kB / 1.175 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4669, allocations: 3.984 kB / 1.175 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.4672, allocations: 363.6 kB / 1.175 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4672, allocations: 0 / 1.175 GB, free: 0 / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.4672, allocations: 4.203 kB / 1.175 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4673, allocations: 7.922 kB / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.4673, allocations: 0 / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4673, allocations: 0 / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4673, allocations: 0 / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.257e-05/0.4674, allocations: 78.09 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.4674, allocations: 81.05 kB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.4674, allocations: 7.984 kB / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.4675, allocations: 0 / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.4675, allocations: 7.938 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4675, allocations: 4 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.4676, allocations: 87.3 kB / 1.175 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4676, allocations: 0 / 1.175 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001951/0.4678, allocations: 8 kB / 1.175 GB, free: 15.68 MB / 0.9356 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.0003527/0.4681, allocations: 0.621 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.4682, allocations: 15.94 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4682, allocations: 0 / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.4682, allocations: 4 kB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4685, allocations: 4 kB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.4688, allocations: 163.4 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.4691, allocations: 0.677 MB / 1.177 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.4691, allocations: 8.406 kB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4692, allocations: 15.44 kB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.4692, allocations: 4 kB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6662/1.135, allocations: 1.25 MB / 1.178 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/1.136, allocations: 215.4 kB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.529, allocations: 0 / 1.178 GB, free: 12.7 MB / 0.9356 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