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.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.001339/0.001339, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001544/0.001544, allocations: 190.5 kB / 22.1 MB, free: 4.223 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.715/1.715, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.026/3.026, allocations: 495.8 MB / 0.7831 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: 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 0.002101/0.002101, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25/1.252, allocations: 173.6 MB / 1.307 GB, free: 33.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2322/1.484, allocations: 146.7 MB / 1.45 GB, free: 7.574 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/1.485, allocations: 59.11 kB / 1.45 GB, free: 7.539 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/1.485, allocations: 0 / 1.45 GB, free: 7.539 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/1.485, allocations: 1.453 kB / 1.45 GB, free: 7.539 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/1.485, allocations: 13.28 kB / 1.45 GB, free: 7.531 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/1.486, allocations: 115.3 kB / 1.45 GB, free: 7.477 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/1.486, allocations: 37.88 kB / 1.45 GB, free: 7.461 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.857e-05/1.486, allocations: 2.484 kB / 1.45 GB, free: 7.461 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/1.486, allocations: 18.78 kB / 1.45 GB, free: 7.453 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/1.486, allocations: 13.27 kB / 1.45 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/1.486, allocations: 1.469 kB / 1.45 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/1.486, allocations: 69.7 kB / 1.45 GB, free: 7.422 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/1.486, allocations: 17.11 kB / 1.45 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/1.487, allocations: 6.266 kB / 1.45 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/1.487, allocations: 67.62 kB / 1.45 GB, free: 7.398 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.487, allocations: 0 / 1.45 GB, free: 7.398 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.845e-06/1.487, allocations: 1.281 kB / 1.45 GB, free: 7.398 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.487, allocations: 0 / 1.45 GB, free: 7.398 MB / 1.139 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.0005435/1.487, allocations: 261.1 kB / 1.451 GB, free: 7.133 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.487, allocations: 9.781 kB / 1.451 GB, free: 7.133 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/1.488, allocations: 17.05 kB / 1.451 GB, free: 7.133 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.488, allocations: 113.9 kB / 1.451 GB, free: 7 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/1.488, allocations: 31.23 kB / 1.451 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/1.488, allocations: 5.062 kB / 1.451 GB, free: 6.961 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/1.488, allocations: 54.77 kB / 1.451 GB, free: 6.918 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.488, allocations: 0 / 1.451 GB, free: 6.918 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.488, allocations: 2.047 kB / 1.451 GB, free: 6.918 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/1.488, allocations: 1.875 kB / 1.451 GB, free: 6.918 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.61e-05/1.488, allocations: 17.81 kB / 1.451 GB, free: 6.914 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/1.489, allocations: 226.6 kB / 1.451 GB, free: 6.676 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/1.489, allocations: 25.39 kB / 1.451 GB, free: 6.645 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/1.489, allocations: 14.25 kB / 1.451 GB, free: 6.629 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/1.489, allocations: 0.6094 kB / 1.451 GB, free: 6.629 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.489, allocations: 36.25 kB / 1.451 GB, free: 6.586 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.489, allocations: 3.938 kB / 1.451 GB, free: 6.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/1.489, allocations: 32.5 kB / 1.451 GB, free: 6.551 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.489, allocations: 59.95 kB / 1.451 GB, free: 6.48 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.489, allocations: 112.8 kB / 1.451 GB, free: 6.371 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/1.489, allocations: 26.36 kB / 1.451 GB, free: 6.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/1.489, allocations: 94.94 kB / 1.451 GB, free: 6.246 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.403e-06/1.489, allocations: 1.625 kB / 1.451 GB, free: 6.246 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/1.489, allocations: 21.38 kB / 1.452 GB, free: 6.223 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.49, allocations: 317.3 kB / 1.452 GB, free: 5.906 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/1.49, allocations: 4.016 kB / 1.452 GB, free: 5.906 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.49, allocations: 29.78 kB / 1.452 GB, free: 5.875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/1.49, allocations: 32.38 kB / 1.452 GB, free: 5.844 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.49, allocations: 0 / 1.452 GB, free: 5.844 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.981e-05/1.49, allocations: 52.38 kB / 1.452 GB, free: 5.805 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.49, allocations: 8.188 kB / 1.452 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.49, allocations: 5.375 kB / 1.452 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.49, allocations: 1.891 kB / 1.452 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/1.49, allocations: 6.828 kB / 1.452 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.49, allocations: 7.922 kB / 1.452 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/1.49, allocations: 3.312 kB / 1.452 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/1.49, allocations: 1.094 kB / 1.452 GB, free: 5.793 MB / 1.139 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 0.0001048/1.49, allocations: 117 kB / 1.452 GB, free: 5.672 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/1.49, allocations: 1.281 kB / 1.452 GB, free: 5.672 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/1.49, allocations: 5.234 kB / 1.452 GB, free: 5.668 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.49, allocations: 5.875 kB / 1.452 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.49, allocations: 3.938 kB / 1.452 GB, free: 5.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.49, allocations: 0 / 1.452 GB, free: 5.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/1.49, allocations: 319.9 kB / 1.452 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.49, allocations: 1.953 kB / 1.452 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/1.49, allocations: 1.094 kB / 1.452 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.49, allocations: 3.938 kB / 1.452 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/1.49, allocations: 0.75 kB / 1.452 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.49, allocations: 1.656 kB / 1.452 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.49, allocations: 4.031 kB / 1.452 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/1.491, allocations: 58.16 kB / 1.452 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/1.491, allocations: 13.75 kB / 1.452 GB, free: 5.223 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/1.491, allocations: 6.016 kB / 1.452 GB, free: 5.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/1.491, allocations: 6.938 kB / 1.452 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/1.491, allocations: 0.75 kB / 1.452 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.491, allocations: 9.188 kB / 1.452 GB, free: 5.207 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.947e-05/1.491, allocations: 86.31 kB / 1.453 GB, free: 5.129 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.491, allocations: 0 / 1.453 GB, free: 5.129 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002144/1.491, allocations: 6.062 kB / 1.453 GB, free: 5.129 MB / 1.139 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.0001268/1.491, allocations: 97.27 kB / 1.453 GB, free: 5.043 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.566e-05/1.491, allocations: 14.72 kB / 1.453 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.491, allocations: 0 / 1.453 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/1.491, allocations: 10.5 kB / 1.453 GB, free: 5.031 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/1.492, allocations: 3.984 kB / 1.453 GB, free: 5.031 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/1.492, allocations: 110.9 kB / 1.453 GB, free: 4.922 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.492, allocations: 0.6767 MB / 1.453 GB, free: 4.227 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.134e-05/1.492, allocations: 4.891 kB / 1.453 GB, free: 4.227 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/1.492, allocations: 14 kB / 1.453 GB, free: 4.215 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/1.492, allocations: 0 / 1.453 GB, free: 4.215 MB / 1.139 GB Notification: Performance of Templates: time 0.003665/1.496, allocations: 0.5284 MB / 1.454 GB, free: 4.141 MB / 1.139 GB " [Timeout remaining time 298] 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: 10.429976731538773]