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.001412/0.001412, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001581/0.001581, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.002064/0.002064, allocations: 65.42 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007034/0.3332, allocations: 3.899 MB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.3334, allocations: 143.5 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.3335, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3336, allocations: 7.938 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3337, allocations: 15.91 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.3342, allocations: 89.25 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3343, allocations: 35.84 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.3344, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.3344, allocations: 15.98 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.3345, allocations: 19.91 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3345, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.3348, allocations: 55.83 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.3349, allocations: 11.97 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.3349, allocations: 8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3351, allocations: 59.33 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3351, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3351, allocations: 4 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3351, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 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.0005086/0.3356, allocations: 262.3 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3357, allocations: 8.031 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.774e-05/0.3357, allocations: 4.188 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.3357, allocations: 30.75 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3358, allocations: 4.938 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3359, allocations: 110.5 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.336, allocations: 51.97 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.336, allocations: 3.938 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3362, allocations: 71.38 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3362, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3362, allocations: 3.938 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.3362, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.3363, allocations: 19.98 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.3368, allocations: 235.9 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.3369, allocations: 22.52 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.3369, allocations: 8.922 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.3369, allocations: 4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.337, allocations: 42.48 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.337, allocations: 0 / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.3372, allocations: 33.7 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3372, allocations: 51.41 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3373, allocations: 109.8 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3373, allocations: 25.7 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.3374, allocations: 84.27 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.3374, allocations: 3.953 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3374, allocations: 17.72 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3376, allocations: 322.8 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.3376, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.3376, allocations: 21.66 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.3377, allocations: 21.7 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3377, allocations: 0 / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.546e-05/0.3378, allocations: 49.64 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3378, allocations: 8 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3378, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3378, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.3379, allocations: 7.984 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3379, allocations: 4 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.3379, allocations: 288 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3379, allocations: 3.938 kB / 1.29 GB, free: 4.512 MB / 0.9825 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 0.0001023/0.338, allocations: 114.7 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.338, allocations: 3.953 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.3382, allocations: 132.9 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-05/0.3383, allocations: 176.3 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001219/0.3384, allocations: 188.2 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.637e-05/0.3385, allocations: 176.3 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3387, allocations: 380.2 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-05/0.3388, allocations: 108.9 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.3388, allocations: 105 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.036e-05/0.3389, allocations: 184.2 kB / 1.291 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.339, allocations: 176.3 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-05/0.3391, allocations: 188.2 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.245e-05/0.3392, allocations: 184.2 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3393, allocations: 315.7 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3394, allocations: 101 kB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3395, allocations: 180.3 kB / 1.292 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3397, allocations: 116.8 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.3398, allocations: 180.3 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.3398, allocations: 104.9 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.3399, allocations: 87.22 kB / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3399, allocations: 0 / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.3401, allocations: 23.92 kB / 1.293 GB, free: 1.16 MB / 0.9825 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.0005851/0.3407, allocations: 0.8165 MB / 1.294 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.3408, allocations: 15.92 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3408, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.3408, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3415, allocations: 461.9 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3427, allocations: 1.329 MB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.3428, allocations: 59.34 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.3428, allocations: 8.125 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3429, allocations: 7.438 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3429, allocations: 0 / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3649, allocations: 1.691 MB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 11.56 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.739569949102588]