Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007174/0.007174, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001538/0.001538, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 63.88 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3811, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.9194/1.301, allocations: 148.3 MB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000175/1.301, allocations: 57.77 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/1.301, allocations: 3.938 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/1.301, allocations: 5.391 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.751e-05/1.301, allocations: 14.67 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/1.302, allocations: 210.9 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/1.302, allocations: 41.38 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/1.302, allocations: 2.234 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/1.302, allocations: 18.16 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/1.302, allocations: 11.86 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/1.302, allocations: 1.062 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/1.303, allocations: 201.8 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/1.303, allocations: 10.39 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/1.303, allocations: 8.219 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/1.303, allocations: 111.9 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.303, allocations: 3.625 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/1.303, allocations: 4 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.303, allocations: 1.062 kB / 1.312 GB, free: 12.89 MB / 1.014 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.0004919/1.304, allocations: 338.7 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.304, allocations: 9.625 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/1.304, allocations: 24.89 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.304, allocations: 170.9 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/1.305, allocations: 32.86 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.305, allocations: 5.344 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.305, allocations: 51.69 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.305, allocations: 0 / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.305, allocations: 1.281 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.305, allocations: 4.656 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/1.305, allocations: 20.62 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/1.305, allocations: 254.6 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.536e-05/1.305, allocations: 31.92 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/1.305, allocations: 8.203 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.306, allocations: 94.45 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.306, allocations: 36 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.306, allocations: 1.969 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002723/1.306, allocations: 55.16 kB / 1.313 GB, free: 11.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.306, allocations: 52.69 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/1.306, allocations: 105.4 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.306, allocations: 26.92 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/1.306, allocations: 89.78 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/1.306, allocations: 9.094 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/1.306, allocations: 18.08 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.306, allocations: 317 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/1.306, allocations: 7.25 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/1.306, allocations: 22.44 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.663e-05/1.307, allocations: 30.83 kB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.307, allocations: 4 kB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.023e-05/1.307, allocations: 57.06 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.307, allocations: 7.391 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.307, allocations: 3.562 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.307, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/1.307, allocations: 6.844 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.307, allocations: 3.938 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/1.307, allocations: 7.891 kB / 1.314 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/1.307, allocations: 3.781 kB / 1.314 GB, free: 11.06 MB / 1.014 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.729e-05/1.307, allocations: 115.2 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/1.307, allocations: 1.406 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/1.307, allocations: 4.531 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.307, allocations: 1.344 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.307, allocations: 3.938 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.307, allocations: 5.375 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/1.308, allocations: 363 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.308, allocations: 1.406 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/1.308, allocations: 3.719 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.308, allocations: 9.125 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.308, allocations: 0.7969 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.308, allocations: 1.125 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.308, allocations: 1.188 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.343e-05/1.308, allocations: 76.72 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/1.308, allocations: 80.08 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.308, allocations: 5.562 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/1.308, allocations: 3.484 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/1.308, allocations: 2.016 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/1.308, allocations: 0.875 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.207e-05/1.308, allocations: 84.62 kB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.308, allocations: 1.344 kB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002392/1.308, allocations: 5.25 kB / 1.315 GB, free: 10.28 MB / 1.014 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.000141/1.308, allocations: 111.4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.685e-05/1.308, allocations: 15.39 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.308, allocations: 0 / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/1.308, allocations: 7.875 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/1.309, allocations: 12.5 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/1.309, allocations: 115.1 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.309, allocations: 0.677 MB / 1.316 GB, free: 9.371 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.178e-05/1.309, allocations: 9.875 kB / 1.316 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/1.309, allocations: 12.88 kB / 1.316 GB, free: 9.355 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.309, allocations: 0 / 1.316 GB, free: 9.355 MB / 1.014 GB Notification: Performance of Templates: time 0.003405/1.313, allocations: 0.5765 MB / 1.316 GB, free: 9.301 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches