Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001882/0.001882, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 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.002318/0.002318, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.828/2.828, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9414/0.9433, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003894/0.9472, allocations: 4.104 MB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000138/0.9473, allocations: 152.5 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.9473, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.19e-05/0.9474, allocations: 7.938 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.9475, allocations: 18.03 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.9478, allocations: 76.44 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.9478, allocations: 36.14 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.9479, allocations: 2.875 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.9479, allocations: 15.72 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.948, allocations: 17.02 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.948, allocations: 2.781 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.9481, allocations: 77.11 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.9482, allocations: 6.625 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.9482, allocations: 16.69 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.9483, allocations: 71.84 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9483, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9483, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.9483, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 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.0002866/0.9486, allocations: 339.8 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.9486, allocations: 11.73 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.939e-06/0.9486, allocations: 192 / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.777e-05/0.9487, allocations: 33.41 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.9487, allocations: 4.922 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.9488, allocations: 174.4 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.9488, allocations: 30.27 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.9488, allocations: 10.56 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.9489, allocations: 37.59 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.9489, allocations: 0 / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.9489, allocations: 0 / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.9489, allocations: 7.094 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.949, allocations: 14.95 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.9493, allocations: 338.8 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 2.996e-05/0.9493, allocations: 17.23 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.052e-05/0.9493, allocations: 4.859 kB / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/0.9494, allocations: 86.7 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.9494, allocations: 34.5 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.9494, allocations: 4 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.9495, allocations: 41.09 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.9495, allocations: 51.41 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.9496, allocations: 102.5 kB / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.9496, allocations: 25.7 kB / 1.327 GB, free: 20.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.9496, allocations: 86.66 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.9496, allocations: 3.375 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.9496, allocations: 19.34 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.9497, allocations: 318.9 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.9497, allocations: 2.875 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.9497, allocations: 16.44 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.9497, allocations: 22.88 kB / 1.328 GB, free: 19.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9497, allocations: 2.75 kB / 1.328 GB, free: 19.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.819e-05/0.9498, allocations: 48.83 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.9498, allocations: 9.156 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.9498, allocations: 0 / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.9498, allocations: 2.656 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.9498, allocations: 6.516 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.9498, allocations: 2.875 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.9499, allocations: 7.891 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.9499, allocations: 6.781 kB / 1.328 GB, free: 19.55 MB / 1.061 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 3.765e-05/0.9499, allocations: 109.8 kB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.9499, allocations: 2.812 kB / 1.328 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.95, allocations: 127 kB / 1.328 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.95, allocations: 176.3 kB / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.95, allocations: 183.2 kB / 1.328 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.9501, allocations: 184.2 kB / 1.329 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.9502, allocations: 414.6 kB / 1.329 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.9502, allocations: 104.9 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.9502, allocations: 107.5 kB / 1.329 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.298e-05/0.9502, allocations: 180.5 kB / 1.329 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.9503, allocations: 182.8 kB / 1.329 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.915e-05/0.9503, allocations: 179.7 kB / 1.33 GB, free: 17.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/0.9503, allocations: 184.2 kB / 1.33 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.9504, allocations: 308.9 kB / 1.33 GB, free: 17.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.9504, allocations: 188.2 kB / 1.33 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.9504, allocations: 176.3 kB / 1.33 GB, free: 16.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.9505, allocations: 115.2 kB / 1.331 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.9506, allocations: 180.3 kB / 1.331 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.9506, allocations: 107.9 kB / 1.331 GB, free: 16.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.9506, allocations: 88.2 kB / 1.331 GB, free: 16.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9506, allocations: 0 / 1.331 GB, free: 16.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002282/0.9508, allocations: 15.5 kB / 1.331 GB, free: 16.15 MB / 1.061 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.0002288/0.9511, allocations: 0.8316 MB / 1.332 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.9511, allocations: 13.25 kB / 1.332 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9511, allocations: 0 / 1.332 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.9511, allocations: 0 / 1.332 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.9514, allocations: 468 kB / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.952, allocations: 1.322 MB / 1.334 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.866e-05/0.9521, allocations: 0.6757 MB / 1.334 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.9522, allocations: 9.469 kB / 1.334 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.9522, allocations: 10.06 kB / 1.334 GB, free: 12.82 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.9522, allocations: 0 / 1.334 GB, free: 12.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.9694, allocations: 1.527 MB / 1.336 GB, free: 12.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.871, allocations: 17.67 kB / 1.336 GB, free: 12.4 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.076914430013858]