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.001663/0.001663, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001977/0.001977, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.482/1.482, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.782/2.782, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 4.238e-06/4.238e-06, allocations: 4 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.405e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2079/0.2079, allocations: 143.8 MB / 0.9512 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.222, allocations: 8.174 MB / 0.9592 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006507/0.2227, allocations: 23.81 kB / 0.9592 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2239, allocations: 341.7 kB / 0.9595 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.2272, allocations: 1.162 MB / 0.9607 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.233, allocations: 2.157 MB / 0.9628 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.2353, allocations: 1.406 MB / 0.9641 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.2362, allocations: 382.3 kB / 0.9645 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006652/0.2428, allocations: 2.408 MB / 0.9669 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.2459, allocations: 1.219 MB / 0.968 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.2461, allocations: 56 kB / 0.9681 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006632/0.2527, allocations: 2.801 MB / 0.9708 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.253, allocations: 163.3 kB / 0.971 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000544/0.2535, allocations: 247.4 kB / 0.9712 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.2586, allocations: 2.654 MB / 0.9738 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2586, allocations: 0 / 0.9738 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2586, allocations: 0 / 0.9738 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.2587, allocations: 7.938 kB / 0.9738 GB, free: 10.62 MB / 0.9323 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.002489/0.2612, allocations: 0.9408 MB / 0.9747 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2612, allocations: 8.031 kB / 0.9747 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.2626, allocations: 247 kB / 0.975 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.2635, allocations: 387.3 kB / 0.9754 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.2635, allocations: 41.25 kB / 0.9754 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2636, allocations: 60 kB / 0.9754 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2653, allocations: 0.9906 MB / 0.9764 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.2653, allocations: 11.89 kB / 0.9764 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.2654, allocations: 23.98 kB / 0.9765 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.2654, allocations: 16 kB / 0.9765 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2667, allocations: 499.5 kB / 0.9769 GB, free: 7.238 MB / 0.9323 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.004044/0.2707, allocations: 2.193 MB / 0.9791 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.2714, allocations: 258.5 kB / 0.9793 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2718, allocations: 157.4 kB / 0.9795 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/0.2901, allocations: 4.922 MB / 0.9843 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.2901, allocations: 46.36 kB / 0.9843 GB, free: 15.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.818e-06/0.2901, allocations: 7.984 kB / 0.9843 GB, free: 15.56 MB / 0.948 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.09501/0.3851, allocations: 31.66 MB / 1.015 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3852, allocations: 133 kB / 1.015 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.3857, allocations: 349.5 kB / 1.016 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.3858, allocations: 37.7 kB / 1.016 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.3861, allocations: 304.7 kB / 1.016 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3862, allocations: 186.3 kB / 1.016 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.3865, allocations: 114.3 kB / 1.016 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3867, allocations: 350.8 kB / 1.017 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/0.3873, allocations: 233.2 kB / 1.017 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008285/0.3881, allocations: 458.5 kB / 1.017 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3895, allocations: 0.5993 MB / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3895, allocations: 0 / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002317/0.3918, allocations: 0.8306 MB / 1.019 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3918, allocations: 4 kB / 1.019 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3919, allocations: 8 kB / 1.019 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/0.3925, allocations: 145.5 kB / 1.019 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.3931, allocations: 131.8 kB / 1.019 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.3977, allocations: 3.173 MB / 1.022 GB, free: 8.512 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.3983, allocations: 44.09 kB / 1.022 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.3984, allocations: 23.98 kB / 1.022 GB, free: 8.445 MB / 0.9792 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.0003851/0.3988, allocations: 197.8 kB / 1.022 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.3991, allocations: 83.47 kB / 1.022 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.4014, allocations: 0.7801 MB / 1.023 GB, free: 7.359 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4014, allocations: 8 kB / 1.023 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4014, allocations: 0 / 1.023 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4014, allocations: 7.984 kB / 1.023 GB, free: 7.344 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.4053, allocations: 1.397 MB / 1.025 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.4053, allocations: 4 kB / 1.025 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.4058, allocations: 103.8 kB / 1.025 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.4062, allocations: 89.2 kB / 1.025 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.4062, allocations: 19.98 kB / 1.025 GB, free: 5.652 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.4082, allocations: 1.649 MB / 1.026 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.4083, allocations: 7.938 kB / 1.026 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.4108, allocations: 1.022 MB / 1.027 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.4109, allocations: 43.75 kB / 1.027 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.4109, allocations: 20.06 kB / 1.027 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.4114, allocations: 23.97 kB / 1.027 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4116, allocations: 51.81 kB / 1.028 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.4116, allocations: 23.98 kB / 1.028 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003708/0.412, allocations: 247.2 kB / 1.028 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.412, allocations: 0 / 1.028 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005003/0.417, allocations: 1.394 MB / 1.029 GB, free: 1.027 MB / 0.9792 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.008822/0.4258, allocations: 0.8374 MB / 1.03 GB, free: 188 kB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.428, allocations: 0.7808 MB / 1.031 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.428, allocations: 0 / 1.031 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.4289, allocations: 390.8 kB / 1.031 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.4303, allocations: 235.3 kB / 1.031 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.4328, allocations: 1.133 MB / 1.032 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4332, allocations: 290.9 kB / 1.033 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005441/0.4337, allocations: 118.7 kB / 1.033 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.4339, allocations: 60.47 kB / 1.033 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of SimCode: time 9.12e-07/0.4339, allocations: 4 kB / 1.033 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of Templates: time 0.4438/0.8778, allocations: 61.74 MB / 1.093 GB, free: 250 MB / 0.9948 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/jenkins/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: 14.731961515033618]