Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007573/0.0007573, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8726/0.8726, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.498e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5247/0.5247, allocations: 130 MB / 1.109 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.5249, allocations: 50.45 kB / 1.109 GB, free: 25.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.5249, allocations: 0 / 1.109 GB, free: 25.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.525, allocations: 8.734 kB / 1.109 GB, free: 25.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.5251, allocations: 14.62 kB / 1.109 GB, free: 25.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.5255, allocations: 110.8 kB / 1.109 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.5256, allocations: 28.53 kB / 1.109 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.5256, allocations: 3.188 kB / 1.109 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.5257, allocations: 27.03 kB / 1.109 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.5258, allocations: 8.328 kB / 1.109 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.5258, allocations: 7.25 kB / 1.109 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.526, allocations: 77.89 kB / 1.109 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.526, allocations: 5.188 kB / 1.109 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.526, allocations: 7.422 kB / 1.109 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.5262, allocations: 80.58 kB / 1.11 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5262, allocations: 0 / 1.11 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5262, allocations: 1.594 kB / 1.11 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.5262, allocations: 0 / 1.11 GB, free: 24.89 MB / 0.9948 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.0003025/0.5265, allocations: 257 kB / 1.11 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5266, allocations: 10.31 kB / 1.11 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.5267, allocations: 22.28 kB / 1.11 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.813e-05/0.5268, allocations: 104 kB / 1.11 GB, free: 24.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.5268, allocations: 55.45 kB / 1.11 GB, free: 24.43 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.5268, allocations: 384 / 1.11 GB, free: 24.43 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.527, allocations: 76.84 kB / 1.11 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.527, allocations: 6.281 kB / 1.11 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.527, allocations: 1.344 kB / 1.11 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.527, allocations: 2.312 kB / 1.11 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.527, allocations: 22.12 kB / 1.11 GB, free: 24.35 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.5273, allocations: 209.6 kB / 1.11 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.457e-05/0.5273, allocations: 16.39 kB / 1.11 GB, free: 24.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.5273, allocations: 6.703 kB / 1.11 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.5273, allocations: 1.156 kB / 1.11 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5274, allocations: 39.62 kB / 1.11 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.5274, allocations: 1.281 kB / 1.11 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.5275, allocations: 35.52 kB / 1.11 GB, free: 24.03 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.5275, allocations: 57.52 kB / 1.11 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.5275, allocations: 104.2 kB / 1.111 GB, free: 23.86 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.5275, allocations: 26.92 kB / 1.111 GB, free: 23.83 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.5276, allocations: 102.5 kB / 1.111 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.5276, allocations: 1.875 kB / 1.111 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.5276, allocations: 14.14 kB / 1.111 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.505e-05/0.5276, allocations: 321.2 kB / 1.111 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.5276, allocations: 4.406 kB / 1.111 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.5277, allocations: 25.27 kB / 1.111 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.5277, allocations: 32.48 kB / 1.111 GB, free: 23.33 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5277, allocations: 1.281 kB / 1.111 GB, free: 23.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.487e-05/0.5277, allocations: 56.47 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5278, allocations: 6.031 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5278, allocations: 0.6562 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5278, allocations: 2 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.5278, allocations: 10.95 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5278, allocations: 1.984 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.5279, allocations: 5.156 kB / 1.111 GB, free: 23.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.5279, allocations: 5.375 kB / 1.111 GB, free: 23.28 MB / 0.9948 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 3.899e-05/0.5279, allocations: 114.3 kB / 1.111 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.5279, allocations: 1.922 kB / 1.111 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.5279, allocations: 6.438 kB / 1.111 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5279, allocations: 1.469 kB / 1.111 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5279, allocations: 3.5 kB / 1.111 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5279, allocations: 3.984 kB / 1.111 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.5281, allocations: 298.9 kB / 1.112 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5281, allocations: 1.453 kB / 1.112 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.5281, allocations: 5.312 kB / 1.112 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5281, allocations: 1.984 kB / 1.112 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5281, allocations: 4 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5281, allocations: 0.5625 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5281, allocations: 1.344 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.559e-05/0.5281, allocations: 62.56 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-06/0.5281, allocations: 4.938 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.5281, allocations: 6.234 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.5282, allocations: 2.172 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.5282, allocations: 1.828 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.5282, allocations: 5.094 kB / 1.112 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.5282, allocations: 90.55 kB / 1.112 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5282, allocations: 0 / 1.112 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001246/0.5283, allocations: 6.375 kB / 1.112 GB, free: 22.66 MB / 0.9948 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 7.331e-05/0.5284, allocations: 100.5 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.5285, allocations: 13.91 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5285, allocations: 1.156 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.5285, allocations: 1.859 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5287, allocations: 10.31 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.5289, allocations: 134.8 kB / 1.112 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.5289, allocations: 64.11 kB / 1.112 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.5289, allocations: 9.875 kB / 1.112 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of SimCode: time 6.71e-07/0.5289, allocations: 0 / 1.112 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of Templates: time 0.001623/0.5306, allocations: 0.5798 MB / 1.113 GB, free: 22.34 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.831622414290905]