Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 113.3 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.89 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2665, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7028/0.9693, allocations: 148.3 MB / 1.36 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00015/0.9694, allocations: 58.5 kB / 1.36 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.9695, allocations: 0 / 1.36 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.9696, allocations: 5.781 kB / 1.36 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.9697, allocations: 8.969 kB / 1.36 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.9701, allocations: 110.8 kB / 1.361 GB, free: 8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.9702, allocations: 33.45 kB / 1.361 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.9703, allocations: 3.375 kB / 1.361 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.9703, allocations: 15.08 kB / 1.361 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.9704, allocations: 21.52 kB / 1.361 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.9704, allocations: 1.125 kB / 1.361 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.9707, allocations: 88.2 kB / 1.361 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.9708, allocations: 10.89 kB / 1.361 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.9708, allocations: 14.73 kB / 1.361 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.971, allocations: 70.48 kB / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.971, allocations: 0 / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.704e-06/0.971, allocations: 0 / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.971, allocations: 0.8125 kB / 1.361 GB, free: 7.91 MB / 1.045 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.000427/0.9714, allocations: 334.3 kB / 1.361 GB, free: 7.555 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.9715, allocations: 8.906 kB / 1.361 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.9715, allocations: 32.91 kB / 1.361 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.9717, allocations: 21.56 kB / 1.361 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.9719, allocations: 170.7 kB / 1.361 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.9719, allocations: 31.52 kB / 1.361 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.972, allocations: 5.062 kB / 1.361 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.9721, allocations: 51.42 kB / 1.361 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9721, allocations: 0 / 1.361 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9721, allocations: 1.125 kB / 1.361 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.9721, allocations: 1.578 kB / 1.361 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.9722, allocations: 22.34 kB / 1.361 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.9726, allocations: 260.6 kB / 1.362 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.9727, allocations: 20.12 kB / 1.362 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.9727, allocations: 6.484 kB / 1.362 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.9727, allocations: 0.9375 kB / 1.362 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.9727, allocations: 39.28 kB / 1.362 GB, free: 6.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.9727, allocations: 2.062 kB / 1.362 GB, free: 6.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.9728, allocations: 33.3 kB / 1.362 GB, free: 6.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.9729, allocations: 59.34 kB / 1.362 GB, free: 6.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.973, allocations: 106 kB / 1.362 GB, free: 6.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.973, allocations: 25.7 kB / 1.362 GB, free: 6.633 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.9731, allocations: 94.22 kB / 1.362 GB, free: 6.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/0.9731, allocations: 5.766 kB / 1.362 GB, free: 6.535 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.9731, allocations: 22.08 kB / 1.362 GB, free: 6.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9732, allocations: 312.7 kB / 1.362 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.9732, allocations: 4.734 kB / 1.362 GB, free: 6.199 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.9733, allocations: 28.09 kB / 1.362 GB, free: 6.168 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.9733, allocations: 32.7 kB / 1.362 GB, free: 6.137 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9733, allocations: 0 / 1.362 GB, free: 6.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.274e-05/0.9734, allocations: 58.02 kB / 1.362 GB, free: 6.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.9734, allocations: 9.094 kB / 1.362 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9734, allocations: 1.062 kB / 1.362 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9734, allocations: 1.875 kB / 1.363 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.9735, allocations: 6.219 kB / 1.363 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9735, allocations: 5.609 kB / 1.363 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.9735, allocations: 5.688 kB / 1.363 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.9736, allocations: 3.688 kB / 1.363 GB, free: 6.082 MB / 1.045 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.666e-05/0.9736, allocations: 112.7 kB / 1.363 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.9737, allocations: 2.891 kB / 1.363 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.9737, allocations: 9.219 kB / 1.363 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9737, allocations: 0 / 1.363 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9737, allocations: 5.812 kB / 1.363 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9737, allocations: 4.078 kB / 1.363 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.974, allocations: 352.6 kB / 1.363 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.974, allocations: 0.9375 kB / 1.363 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.974, allocations: 4.281 kB / 1.363 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.974, allocations: 5.531 kB / 1.363 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.974, allocations: 0 / 1.363 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.974, allocations: 0.5156 kB / 1.363 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.974, allocations: 0 / 1.363 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.106e-05/0.9741, allocations: 66.67 kB / 1.363 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.9741, allocations: 82.86 kB / 1.363 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.9741, allocations: 2.562 kB / 1.363 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.9742, allocations: 2.516 kB / 1.363 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.9742, allocations: 5.25 kB / 1.363 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.9742, allocations: 0.5156 kB / 1.363 GB, free: 5.375 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.9743, allocations: 89.69 kB / 1.363 GB, free: 5.293 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.9743, allocations: 0 / 1.363 GB, free: 5.293 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001836/0.9745, allocations: 7.266 kB / 1.363 GB, free: 5.293 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0003617/0.9748, allocations: 0.5979 MB / 1.364 GB, free: 4.695 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.9749, allocations: 12.91 kB / 1.364 GB, free: 4.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9749, allocations: 1.25 kB / 1.364 GB, free: 4.691 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-06/0.9749, allocations: 9.469 kB / 1.364 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.9751, allocations: 7.906 kB / 1.364 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.9755, allocations: 138.2 kB / 1.364 GB, free: 4.539 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.9758, allocations: 0.6761 MB / 1.365 GB, free: 3.844 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.9758, allocations: 5.344 kB / 1.365 GB, free: 3.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.9758, allocations: 13.33 kB / 1.365 GB, free: 3.832 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.9758, allocations: 0 / 1.365 GB, free: 3.832 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/1.001, allocations: 1.33 MB / 1.366 GB, free: 3.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.963, allocations: 8.438 kB / 1.366 GB, free: 3.484 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.236847140004102]