Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001686/0.001686, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002022/0.002022, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8224, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1776/1, allocations: 148.7 MB / 1.414 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001869/1, allocations: 47.86 kB / 1.414 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/1, allocations: 4 kB / 1.414 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/1, allocations: 0 / 1.414 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/1.001, allocations: 19.91 kB / 1.414 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/1.002, allocations: 215.2 kB / 1.414 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/1.002, allocations: 31.91 kB / 1.414 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/1.002, allocations: 0 / 1.414 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/1.002, allocations: 27.91 kB / 1.414 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/1.002, allocations: 11.94 kB / 1.414 GB, free: 15.54 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/1.002, allocations: 0 / 1.414 GB, free: 15.54 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/1.002, allocations: 207.4 kB / 1.414 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/1.002, allocations: 7.969 kB / 1.414 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/1.003, allocations: 15.92 kB / 1.415 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/1.003, allocations: 117.5 kB / 1.415 GB, free: 15.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.003, allocations: 0 / 1.415 GB, free: 15.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.493e-06/1.003, allocations: 3.938 kB / 1.415 GB, free: 15.19 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.003, allocations: 0 / 1.415 GB, free: 15.19 MB / 1.123 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.0004955/1.003, allocations: 347.4 kB / 1.415 GB, free: 14.8 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.003, allocations: 12.03 kB / 1.415 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/1.003, allocations: 34.75 kB / 1.415 GB, free: 14.75 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/1.004, allocations: 20.91 kB / 1.415 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.004, allocations: 176.1 kB / 1.415 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/1.004, allocations: 33.62 kB / 1.415 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/1.004, allocations: 0 / 1.415 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.004, allocations: 49.69 kB / 1.415 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.004, allocations: 0 / 1.415 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.004, allocations: 4 kB / 1.415 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/1.004, allocations: 0 / 1.415 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/1.004, allocations: 19.98 kB / 1.415 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/1.005, allocations: 260.8 kB / 1.416 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/1.005, allocations: 30.52 kB / 1.416 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/1.005, allocations: 8.922 kB / 1.416 GB, free: 14.05 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/1.005, allocations: 89.09 kB / 1.416 GB, free: 13.94 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/1.005, allocations: 34.56 kB / 1.416 GB, free: 13.9 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/1.005, allocations: 0 / 1.416 GB, free: 13.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002911/1.005, allocations: 49.78 kB / 1.416 GB, free: 13.84 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.005, allocations: 63.28 kB / 1.416 GB, free: 13.77 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.005, allocations: 101.8 kB / 1.416 GB, free: 13.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/1.005, allocations: 25.7 kB / 1.416 GB, free: 13.63 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/1.006, allocations: 88.09 kB / 1.416 GB, free: 13.54 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/1.006, allocations: 11.94 kB / 1.416 GB, free: 13.53 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/1.006, allocations: 13.72 kB / 1.416 GB, free: 13.51 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.006, allocations: 318.8 kB / 1.416 GB, free: 13.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/1.006, allocations: 8.031 kB / 1.416 GB, free: 13.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/1.006, allocations: 26.56 kB / 1.416 GB, free: 13.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/1.006, allocations: 30.52 kB / 1.416 GB, free: 13.11 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.006, allocations: 0 / 1.416 GB, free: 13.11 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.996e-05/1.006, allocations: 65.58 kB / 1.416 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.006, allocations: 8 kB / 1.416 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.006, allocations: 0 / 1.416 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.006, allocations: 0 / 1.416 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/1.006, allocations: 8 kB / 1.416 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.006, allocations: 3.938 kB / 1.416 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/1.006, allocations: 0 / 1.416 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.006, allocations: 4 kB / 1.416 GB, free: 13.01 MB / 1.123 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.0001077/1.006, allocations: 109.8 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/1.006, allocations: 8.094 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/1.006, allocations: 11.06 kB / 1.417 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.006, allocations: 0 / 1.417 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.006, allocations: 7.938 kB / 1.417 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.006, allocations: 0 / 1.417 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/1.007, allocations: 367.5 kB / 1.417 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.007, allocations: 0 / 1.417 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/1.007, allocations: 8 kB / 1.417 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.007, allocations: 4 kB / 1.417 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/1.007, allocations: 288 / 1.417 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.007, allocations: 0 / 1.417 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.007, allocations: 3.938 kB / 1.417 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.091e-05/1.007, allocations: 73.94 kB / 1.417 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/1.007, allocations: 85.03 kB / 1.417 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/1.007, allocations: 4.031 kB / 1.417 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/1.007, allocations: 7.984 kB / 1.417 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/1.007, allocations: 0 / 1.417 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/1.007, allocations: 4 kB / 1.417 GB, free: 12.22 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.958e-05/1.007, allocations: 83.28 kB / 1.417 GB, free: 12.14 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.007, allocations: 0 / 1.417 GB, free: 12.14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001952/1.007, allocations: 4 kB / 1.417 GB, free: 12.13 MB / 1.123 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.0004715/1.008, allocations: 0.6176 MB / 1.418 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/1.008, allocations: 23.86 kB / 1.418 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.008, allocations: 0 / 1.418 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/1.008, allocations: 8.219 kB / 1.418 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.008, allocations: 12.58 kB / 1.418 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/1.008, allocations: 145.1 kB / 1.418 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/1.009, allocations: 0.6768 MB / 1.419 GB, free: 10.56 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.454e-05/1.009, allocations: 12.11 kB / 1.419 GB, free: 10.55 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/1.009, allocations: 11.44 kB / 1.419 GB, free: 10.54 MB / 1.123 GB Notification: Performance of SimCode: time 4.41e-07/1.009, allocations: 0 / 1.419 GB, free: 10.54 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/1.034, allocations: 1.464 MB / 1.42 GB, free: 9.168 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/9.012, allocations: 13.45 kB / 1.42 GB, free: 9.16 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 15.102074234280735]