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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001647/0.001646, allocations: 196 kB / 16.14 MB, free: 6.703 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.279/2.279, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5708, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1407/0.7116, allocations: 146 MB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.7117, allocations: 59.72 kB / 1.092 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.7118, allocations: 0 / 1.092 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.7119, allocations: 0 / 1.092 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.712, allocations: 15.86 kB / 1.092 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.7127, allocations: 203.4 kB / 1.092 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.7128, allocations: 51.83 kB / 1.092 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.7128, allocations: 4 kB / 1.092 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.7128, allocations: 19.97 kB / 1.092 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.7129, allocations: 11.94 kB / 1.092 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.7129, allocations: 0 / 1.092 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.7134, allocations: 227.3 kB / 1.092 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.7134, allocations: 15.97 kB / 1.092 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.7134, allocations: 11.94 kB / 1.092 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.7137, allocations: 126 kB / 1.092 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7137, allocations: 0 / 1.092 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7137, allocations: 0 / 1.092 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.7137, allocations: 3.938 kB / 1.092 GB, free: 14.8 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.0003457/0.7141, allocations: 347.4 kB / 1.093 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7141, allocations: 12.02 kB / 1.093 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.7142, allocations: 34.75 kB / 1.093 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.7145, allocations: 24.91 kB / 1.093 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.7146, allocations: 168.1 kB / 1.093 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.7147, allocations: 37.7 kB / 1.093 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.7147, allocations: 0 / 1.093 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.7148, allocations: 49.69 kB / 1.093 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.7148, allocations: 0 / 1.093 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.7148, allocations: 0 / 1.093 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7148, allocations: 7.984 kB / 1.093 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.7149, allocations: 23.92 kB / 1.093 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.7152, allocations: 264.8 kB / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.7153, allocations: 22.56 kB / 1.093 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.7153, allocations: 8.922 kB / 1.093 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.7155, allocations: 93.09 kB / 1.093 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7155, allocations: 34.56 kB / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7155, allocations: 0 / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.7157, allocations: 53.62 kB / 1.093 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.7158, allocations: 55.34 kB / 1.094 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.7159, allocations: 105.8 kB / 1.094 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7159, allocations: 25.7 kB / 1.094 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.7159, allocations: 87.98 kB / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.7159, allocations: 8.031 kB / 1.094 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.716, allocations: 17.72 kB / 1.094 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.7161, allocations: 314.8 kB / 1.094 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.7161, allocations: 7.984 kB / 1.094 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.7161, allocations: 22.77 kB / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.7162, allocations: 38.45 kB / 1.094 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7162, allocations: 0 / 1.094 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.527e-05/0.7163, allocations: 53.72 kB / 1.094 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7163, allocations: 4 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7163, allocations: 0 / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7163, allocations: 7.984 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.7164, allocations: 11.92 kB / 1.094 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7164, allocations: 3.938 kB / 1.094 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.7165, allocations: 8.094 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.7165, allocations: 0 / 1.094 GB, free: 12.61 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 6.776e-05/0.7165, allocations: 117.8 kB / 1.094 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.7166, allocations: 0 / 1.094 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.7166, allocations: 7.125 kB / 1.094 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7166, allocations: 0 / 1.094 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7166, allocations: 3.938 kB / 1.094 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.7166, allocations: 0 / 1.094 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.7169, allocations: 367.5 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7169, allocations: 0 / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.7169, allocations: 7.938 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7169, allocations: 0 / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.717, allocations: 7.984 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.717, allocations: 4 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.717, allocations: 3.984 kB / 1.095 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.7171, allocations: 70.06 kB / 1.095 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.7171, allocations: 85.05 kB / 1.095 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.7171, allocations: 7.922 kB / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.7172, allocations: 4 kB / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.7172, allocations: 0 / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.7172, allocations: 0 / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.7173, allocations: 83.27 kB / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7173, allocations: 4.031 kB / 1.095 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001974/0.7175, allocations: 8 kB / 1.095 GB, free: 11.73 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.000335/0.7178, allocations: 0.6094 MB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.879e-05/0.7179, allocations: 19.94 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7179, allocations: 0 / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.7179, allocations: 4 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.7182, allocations: 8.453 kB / 1.096 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.7185, allocations: 163 kB / 1.096 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.7187, allocations: 0.677 MB / 1.096 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.7188, allocations: 7.938 kB / 1.096 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.7188, allocations: 11.44 kB / 1.096 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.7188, allocations: 0 / 1.096 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/0.877, allocations: 1.305 MB / 1.098 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.8772, allocations: 202.8 kB / 1.098 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.468, allocations: 4 kB / 1.098 GB, free: 8.672 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