Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009739/0.0009739, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008858/0.0008858, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9351/0.9351, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.63/1.63, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.797e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00379/0.003808, allocations: 3.908 MB / 0.9543 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.003947, allocations: 139.5 kB / 0.9544 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.00397, allocations: 3.938 kB / 0.9544 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.004082, allocations: 4 kB / 0.9544 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.004159, allocations: 15.91 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.004456, allocations: 87.62 kB / 0.9545 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.004533, allocations: 31.86 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.00457, allocations: 3.984 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.004617, allocations: 23.91 kB / 0.9546 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.00468, allocations: 11.94 kB / 0.9546 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.004691, allocations: 0 / 0.9546 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.004845, allocations: 55.86 kB / 0.9546 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.00489, allocations: 11.92 kB / 0.9546 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.00491, allocations: 11.92 kB / 0.9547 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.005027, allocations: 63.86 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005029, allocations: 0 / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00503, allocations: 0 / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.005034, allocations: 0 / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002891/0.005323, allocations: 262.3 kB / 0.955 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005358, allocations: 8.031 kB / 0.955 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.005385, allocations: 30.75 kB / 0.955 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.005413, allocations: 8.938 kB / 0.955 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.42e-05/0.005487, allocations: 105.8 kB / 0.9551 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.005541, allocations: 59.95 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.005547, allocations: 384 / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.005658, allocations: 67.95 kB / 0.9552 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.005666, allocations: 3.938 kB / 0.9552 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.005675, allocations: 0 / 0.9552 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.005692, allocations: 7.938 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.005729, allocations: 15.98 kB / 0.9553 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.006061, allocations: 235.9 kB / 0.9555 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.006095, allocations: 22.58 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.006108, allocations: 4.859 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.006147, allocations: 8.047 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.006168, allocations: 34.56 kB / 0.9556 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.00617, allocations: 0 / 0.9556 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.006292, allocations: 37.64 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.006318, allocations: 55.41 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.006378, allocations: 101.8 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.006389, allocations: 25.7 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.006429, allocations: 96.22 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-06/0.006434, allocations: 3.953 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.006458, allocations: 17.7 kB / 0.9559 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.006528, allocations: 314.8 kB / 0.9562 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.00654, allocations: 8 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.006557, allocations: 13.72 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.006587, allocations: 33.58 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006589, allocations: 0 / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.534e-05/0.006634, allocations: 45.7 kB / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006647, allocations: 10.33 kB / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006651, allocations: 0 / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006661, allocations: 4 kB / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.006697, allocations: 7.938 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006702, allocations: 0 / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.006713, allocations: 3.938 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.006723, allocations: 4 kB / 0.9563 GB, free: 13.31 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.85e-05/0.006771, allocations: 109.8 kB / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.006785, allocations: 4 kB / 0.9564 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/0.006867, allocations: 125 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.006905, allocations: 184.2 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/0.006942, allocations: 176.3 kB / 0.9569 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/0.00698, allocations: 188.2 kB / 0.9571 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.007137, allocations: 380.2 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.007157, allocations: 101 kB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.007181, allocations: 112.8 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.56e-05/0.007217, allocations: 180.3 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.007254, allocations: 184.2 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-05/0.007287, allocations: 176.3 kB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-05/0.007322, allocations: 184.3 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.007405, allocations: 308 kB / 0.9586 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.007432, allocations: 108.9 kB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.007479, allocations: 184.2 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.007571, allocations: 109 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.007612, allocations: 180.2 kB / 0.9592 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.007633, allocations: 105 kB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.007672, allocations: 95.27 kB / 0.9594 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007672, allocations: 0 / 0.9594 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001638/0.007836, allocations: 15.94 kB / 0.9594 GB, free: 9.977 MB / 0.9167 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 (0): * Single equations (assignments): 0 * 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.000283/0.008119, allocations: 0.8284 MB / 0.9602 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.546e-05/0.008175, allocations: 11.98 kB / 0.9602 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008176, allocations: 0 / 0.9602 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.008177, allocations: 0 / 0.9602 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.008469, allocations: 463.6 kB / 0.9606 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.009203, allocations: 1.324 MB / 0.9619 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.009243, allocations: 55.48 kB / 0.962 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.009274, allocations: 11.98 kB / 0.962 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.009298, allocations: 12.5 kB / 0.962 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of SimCode: time 3e-07/0.009299, allocations: 0 / 0.962 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02441, allocations: 2.164 MB / 0.9641 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.75, allocations: 3.984 kB / 0.9641 GB, free: 5.113 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.736136483028531]