Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001772/0.001772, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.002276/0.002276, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.945 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 3.01/3.01, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",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.001951/0.001951, allocations: 64.31 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005475/0.3272, allocations: 3.803 MB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.3274, allocations: 147.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.3274, allocations: 3.938 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.187e-05/0.3275, allocations: 4 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.3275, allocations: 15.91 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3278, allocations: 86.38 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.3279, allocations: 31.86 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.3279, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.328, allocations: 19.91 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.3281, allocations: 19.92 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.577e-06/0.3281, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.3286, allocations: 199.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.3286, allocations: 8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.3286, allocations: 11.92 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3288, allocations: 79.72 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3288, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3288, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3288, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 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.0003912/0.3292, allocations: 335.4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3292, allocations: 11.98 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.3293, allocations: 30.75 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3293, allocations: 4.938 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3294, allocations: 168.3 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.3295, allocations: 34.2 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3295, allocations: 8.125 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3296, allocations: 41.69 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3296, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3296, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3297, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.3297, allocations: 15.98 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.3302, allocations: 338 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.3302, allocations: 22.52 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.3302, allocations: 4.859 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.3303, allocations: 85.17 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3303, allocations: 34.55 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3303, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.3305, allocations: 33.78 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3305, allocations: 63.34 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.3306, allocations: 101.8 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3306, allocations: 25.7 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.3307, allocations: 84.09 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.3307, allocations: 8 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.3307, allocations: 13.72 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3309, allocations: 318.8 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.3309, allocations: 8 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.3309, allocations: 13.72 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.3309, allocations: 25.66 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3309, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.471e-05/0.331, allocations: 45.62 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.331, allocations: 10.19 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.331, allocations: 64 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3311, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.3311, allocations: 12.27 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3311, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.3311, allocations: 3.953 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3311, allocations: 3.938 kB / 1.327 GB, free: 12.75 MB / 1.029 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 8.153e-05/0.3312, allocations: 117.7 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3312, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.3314, allocations: 132.9 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.867e-05/0.3315, allocations: 176.3 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.032e-05/0.3315, allocations: 180.2 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.02e-05/0.3316, allocations: 180.3 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3319, allocations: 409.1 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.914e-05/0.3319, allocations: 113 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.332, allocations: 108.9 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.956e-05/0.332, allocations: 176.3 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.3321, allocations: 176.3 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.477e-05/0.3322, allocations: 184.2 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.136e-05/0.3323, allocations: 180.3 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3324, allocations: 311.7 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.3325, allocations: 178.1 kB / 1.329 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3326, allocations: 192.1 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3328, allocations: 105 kB / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.3329, allocations: 192.2 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.3329, allocations: 101 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.333, allocations: 87.27 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002439/0.3332, allocations: 15.94 kB / 1.33 GB, free: 9.277 MB / 1.029 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.0005307/0.3337, allocations: 0.8398 MB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.3338, allocations: 4 kB / 1.331 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3338, allocations: 3.938 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3338, allocations: 0 / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3343, allocations: 459.7 kB / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3354, allocations: 1.328 MB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.3356, allocations: 0.6729 MB / 1.333 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.3357, allocations: 11.36 kB / 1.333 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.3357, allocations: 7.438 kB / 1.333 GB, free: 5.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3357, allocations: 4 kB / 1.333 GB, free: 5.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3589, allocations: 1.499 MB / 1.335 GB, free: 4.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.965, allocations: 19.3 kB / 1.335 GB, free: 4.445 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 14.147556063951924]