Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.001672/0.001672, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002058/0.002058, allocations: 218.7 kB / 23 MB, free: 4.914 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.314/3.314, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [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.002209/0.002209, allocations: 69.02 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3859, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1969/0.5828, allocations: 143.9 MB / 1.467 GB, free: 1.473 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.5971, allocations: 8.168 MB / 1.475 GB, free: 9.273 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.598, allocations: 19.88 kB / 1.475 GB, free: 9.254 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.5993, allocations: 333.8 kB / 1.475 GB, free: 8.926 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.6031, allocations: 1.143 MB / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00649/0.6096, allocations: 2.146 MB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.6119, allocations: 1.395 MB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000725/0.6126, allocations: 362 kB / 1.48 GB, free: 3.883 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005921/0.6186, allocations: 2.19 MB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.6215, allocations: 1.266 MB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6216, allocations: 52 kB / 1.483 GB, free: 376 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.6277, allocations: 2.797 MB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.628, allocations: 155.4 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005717/0.6286, allocations: 294.8 kB / 1.487 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.6327, allocations: 2.217 MB / 1.489 GB, free: 10.9 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.6327, allocations: 0 / 1.489 GB, free: 10.9 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6327, allocations: 0 / 1.489 GB, free: 10.9 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.6328, allocations: 0 / 1.489 GB, free: 10.9 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002315/0.6351, allocations: 0.9525 MB / 1.49 GB, free: 9.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6351, allocations: 8.031 kB / 1.49 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6363, allocations: 139.7 kB / 1.49 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.6372, allocations: 383.2 kB / 1.49 GB, free: 9.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.6372, allocations: 37.31 kB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6373, allocations: 55.95 kB / 1.49 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.6388, allocations: 0.9906 MB / 1.491 GB, free: 8.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.6389, allocations: 3.938 kB / 1.491 GB, free: 8.148 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.6389, allocations: 28 kB / 1.491 GB, free: 8.121 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6389, allocations: 15.94 kB / 1.491 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.6401, allocations: 491.5 kB / 1.492 GB, free: 7.625 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.6436, allocations: 2.189 MB / 1.494 GB, free: 5.359 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.6443, allocations: 259 kB / 1.494 GB, free: 5.098 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.6446, allocations: 157.4 kB / 1.494 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/0.664, allocations: 4.928 MB / 1.499 GB, free: 8 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.754e-05/0.6641, allocations: 46.41 kB / 1.499 GB, free: 15.95 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.415e-06/0.6641, allocations: 0 / 1.499 GB, free: 15.95 MB / 1.201 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.09724/0.7613, allocations: 31.65 MB / 1.53 GB, free: 308 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7614, allocations: 137 kB / 1.53 GB, free: 140 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.762, allocations: 337.6 kB / 1.531 GB, free: 15.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.7621, allocations: 41.64 kB / 1.531 GB, free: 15.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.7623, allocations: 308.7 kB / 1.531 GB, free: 15.45 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.7625, allocations: 182.4 kB / 1.531 GB, free: 15.27 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.7627, allocations: 118.3 kB / 1.531 GB, free: 15.14 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.7629, allocations: 346.8 kB / 1.531 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.7635, allocations: 237.2 kB / 1.532 GB, free: 14.56 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.7643, allocations: 458.5 kB / 1.532 GB, free: 14.05 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.7656, allocations: 0.5903 MB / 1.533 GB, free: 13.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7656, allocations: 0 / 1.533 GB, free: 13.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002217/0.7678, allocations: 0.7901 MB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7678, allocations: 8 kB / 1.533 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.7678, allocations: 7.922 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.7684, allocations: 125.5 kB / 1.534 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.769, allocations: 128 kB / 1.534 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.7727, allocations: 3.165 MB / 1.537 GB, free: 8.977 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/0.7734, allocations: 31.97 kB / 1.537 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.7734, allocations: 27.98 kB / 1.537 GB, free: 8.918 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003845/0.7738, allocations: 199.7 kB / 1.537 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.7741, allocations: 51.7 kB / 1.537 GB, free: 8.664 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.776, allocations: 0.7855 MB / 1.538 GB, free: 7.867 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.776, allocations: 4 kB / 1.538 GB, free: 7.863 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.776, allocations: 0 / 1.538 GB, free: 7.863 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7761, allocations: 3.984 kB / 1.538 GB, free: 7.859 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.7795, allocations: 1.411 MB / 1.539 GB, free: 6.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7795, allocations: 0 / 1.539 GB, free: 6.367 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.7801, allocations: 107.8 kB / 1.539 GB, free: 6.262 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/0.7803, allocations: 64.8 kB / 1.539 GB, free: 6.195 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.7804, allocations: 16 kB / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.7824, allocations: 1.649 MB / 1.541 GB, free: 4.434 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.7824, allocations: 7.938 kB / 1.541 GB, free: 4.426 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.7848, allocations: 1.001 MB / 1.542 GB, free: 3.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.7849, allocations: 43.72 kB / 1.542 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.785, allocations: 16 kB / 1.542 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.7855, allocations: 23.97 kB / 1.542 GB, free: 3.281 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.7856, allocations: 51.81 kB / 1.542 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.7857, allocations: 23.98 kB / 1.542 GB, free: 3.207 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003952/0.7861, allocations: 247.2 kB / 1.542 GB, free: 2.969 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7861, allocations: 4 kB / 1.542 GB, free: 2.965 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004808/0.7909, allocations: 1.39 MB / 1.544 GB, free: 1.574 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007528/0.7984, allocations: 0.7478 MB / 1.545 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.8006, allocations: 0.7723 MB / 1.545 GB, free: 12 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.8006, allocations: 0 / 1.545 GB, free: 12 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.8014, allocations: 378.6 kB / 1.546 GB, free: 15.63 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.8027, allocations: 228.8 kB / 1.546 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.8049, allocations: 1.225 MB / 1.547 GB, free: 14.12 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.8052, allocations: 282.9 kB / 1.547 GB, free: 13.81 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.8054, allocations: 59.42 kB / 1.547 GB, free: 13.75 MB / 1.248 GB Notification: Performance of SimCode: time 1.152e-06/0.8054, allocations: 0 / 1.547 GB, free: 13.75 MB / 1.248 GB Notification: Performance of Templates: time 0.06726/0.8727, allocations: 41.12 MB / 1.588 GB, free: 5.184 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.745532449800521]