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.001326/0.001326, allocations: 108.4 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.001573/0.001573, allocations: 216.2 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.048/3.048, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001925/0.001925, allocations: 68.16 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3449, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006015/0.351, allocations: 4.107 MB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.3512, allocations: 163.4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.3512, allocations: 8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.3513, allocations: 3.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.3514, allocations: 7.922 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.3517, allocations: 83.69 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.3518, allocations: 35.91 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3519, allocations: 3.984 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.3519, allocations: 15.94 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.352, allocations: 19.91 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.352, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.3522, allocations: 75.78 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.3523, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.3523, allocations: 11.92 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3525, allocations: 72.12 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3525, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3525, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3525, allocations: 0 / 1.325 GB, free: 14.69 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.000425/0.3529, allocations: 339.4 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3529, allocations: 11.98 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.353, allocations: 30.75 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.353, allocations: 4.938 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3532, allocations: 172.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.3532, allocations: 26.27 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.3532, allocations: 8.125 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3534, allocations: 41.69 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3534, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3534, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3534, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.3534, allocations: 11.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.3539, allocations: 338 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.354, allocations: 18.58 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.354, allocations: 4.859 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-05/0.3541, allocations: 89.17 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3541, allocations: 38.48 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3541, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.3542, allocations: 37.59 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3543, allocations: 55.41 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.3544, allocations: 105.8 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3544, allocations: 25.7 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.3545, allocations: 96.2 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-06/0.3545, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.3545, allocations: 13.72 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3546, allocations: 318.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.3547, allocations: 8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.3547, allocations: 13.72 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.3547, allocations: 25.66 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3547, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.27e-05/0.3548, allocations: 49.69 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3548, allocations: 4 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3548, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3548, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.3549, allocations: 7.984 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3549, allocations: 7.938 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.3549, allocations: 7.953 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3549, allocations: 4.062 kB / 1.327 GB, free: 12.52 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.75e-05/0.355, allocations: 113.8 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.355, allocations: 0 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3552, allocations: 124.9 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.613e-05/0.3552, allocations: 180.5 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.239e-05/0.3553, allocations: 184.3 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-05/0.3554, allocations: 184.2 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.3557, allocations: 413.1 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.332e-05/0.3558, allocations: 101 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3558, allocations: 108.9 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.3559, allocations: 176.3 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.356, allocations: 188.2 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.133e-05/0.3561, allocations: 176.3 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.796e-05/0.3562, allocations: 180.3 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.3563, allocations: 307.7 kB / 1.329 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3564, allocations: 182 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.3565, allocations: 188.3 kB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3567, allocations: 105 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.3568, allocations: 184.2 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3568, allocations: 101 kB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.3569, allocations: 87.27 kB / 1.33 GB, free: 9.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3569, allocations: 3.938 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002698/0.3572, allocations: 23.88 kB / 1.33 GB, free: 9.055 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.0005522/0.3577, allocations: 0.832 MB / 1.331 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.3578, allocations: 8 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3578, allocations: 128 / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-06/0.3578, allocations: 4 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3583, allocations: 463.8 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3594, allocations: 1.324 MB / 1.333 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3597, allocations: 0.6729 MB / 1.333 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.3597, allocations: 11.98 kB / 1.333 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.3597, allocations: 7.438 kB / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.3597, allocations: 0 / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3866, allocations: 1.494 MB / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.035, allocations: 15.84 kB / 1.335 GB, free: 4.184 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.274053622968495]