Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001904/0.001904, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002339/0.002339, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.704/2.704, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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_11_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_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.223e-05, allocations: 6.906 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1984/0.1984, allocations: 143.7 MB / 0.9268 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2115, allocations: 8.178 MB / 0.9347 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.2122, allocations: 23.81 kB / 0.9348 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.2132, allocations: 325.7 kB / 0.9351 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.2162, allocations: 1.174 MB / 0.9362 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005534/0.2217, allocations: 2.165 MB / 0.9383 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.2237, allocations: 1.403 MB / 0.9397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006447/0.2244, allocations: 386.2 kB / 0.9401 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005701/0.2301, allocations: 2.408 MB / 0.9424 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.233, allocations: 1.22 MB / 0.9436 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2331, allocations: 52 kB / 0.9437 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.2392, allocations: 2.805 MB / 0.9464 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.2395, allocations: 163.3 kB / 0.9466 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.24, allocations: 243.5 kB / 0.9468 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.2446, allocations: 2.658 MB / 0.9494 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2446, allocations: 3.984 kB / 0.9494 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2446, allocations: 0 / 0.9494 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2446, allocations: 4 kB / 0.9494 GB, free: 5.379 MB / 0.9011 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.002081/0.2467, allocations: 0.9369 MB / 0.9503 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2467, allocations: 12.03 kB / 0.9503 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.2481, allocations: 247 kB / 0.9506 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.2489, allocations: 383.3 kB / 0.9509 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.249, allocations: 41.25 kB / 0.951 GB, free: 3.715 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.2491, allocations: 60 kB / 0.951 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2507, allocations: 0.9906 MB / 0.952 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2507, allocations: 0 / 0.952 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.2507, allocations: 28 kB / 0.952 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.2508, allocations: 12 kB / 0.952 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2519, allocations: 495.5 kB / 0.9525 GB, free: 2.016 MB / 0.9011 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.00357/0.2555, allocations: 2.204 MB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.2562, allocations: 267.8 kB / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2566, allocations: 156.8 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/0.2746, allocations: 4.918 MB / 0.9599 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.2746, allocations: 46.55 kB / 0.9599 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.2746, allocations: 0 / 0.9599 GB, free: 10.32 MB / 0.9167 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.09472/0.3694, allocations: 31.67 MB / 0.9908 GB, free: 10.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.3695, allocations: 141 kB / 0.991 GB, free: 10.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.37, allocations: 345.5 kB / 0.9913 GB, free: 10.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.37, allocations: 29.7 kB / 0.9913 GB, free: 10.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.3703, allocations: 300.8 kB / 0.9916 GB, free: 9.809 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3705, allocations: 194.3 kB / 0.9918 GB, free: 9.617 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.3707, allocations: 110.3 kB / 0.9919 GB, free: 9.504 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3709, allocations: 350.8 kB / 0.9922 GB, free: 9.152 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.3715, allocations: 237.2 kB / 0.9925 GB, free: 8.922 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.3724, allocations: 458.5 kB / 0.9929 GB, free: 8.402 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3737, allocations: 0.5915 MB / 0.9935 GB, free: 7.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3737, allocations: 4 kB / 0.9935 GB, free: 7.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002285/0.376, allocations: 0.8302 MB / 0.9943 GB, free: 6.922 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.376, allocations: 8 kB / 0.9943 GB, free: 6.914 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.376, allocations: 4 kB / 0.9943 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.3767, allocations: 154 kB / 0.9945 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.3773, allocations: 127.8 kB / 0.9946 GB, free: 6.629 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.3812, allocations: 3.174 MB / 0.9977 GB, free: 3.258 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.3818, allocations: 36.19 kB / 0.9977 GB, free: 3.223 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.3818, allocations: 24 kB / 0.9977 GB, free: 3.199 MB / 0.948 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.000321/0.3822, allocations: 197.6 kB / 0.9979 GB, free: 2.996 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.3825, allocations: 79.47 kB / 0.998 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3846, allocations: 0.7852 MB / 0.9988 GB, free: 2.113 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3846, allocations: 12.03 kB / 0.9988 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3846, allocations: 128 / 0.9988 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3846, allocations: 4 kB / 0.9988 GB, free: 2.098 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.3882, allocations: 1.401 MB / 1 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.3882, allocations: 0 / 1 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.3888, allocations: 116.2 kB / 1 GB, free: 0.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.3891, allocations: 84.8 kB / 1 GB, free: 424 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.3892, allocations: 19.92 kB / 1 GB, free: 404 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.3913, allocations: 1.649 MB / 1.002 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3913, allocations: 7.969 kB / 1.002 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.3937, allocations: 1.034 MB / 1.003 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3938, allocations: 39.7 kB / 1.003 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.3939, allocations: 16 kB / 1.003 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.3944, allocations: 31.97 kB / 1.003 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3945, allocations: 43.81 kB / 1.003 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.3946, allocations: 23.98 kB / 1.003 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003731/0.395, allocations: 251.2 kB / 1.003 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.395, allocations: 64 / 1.003 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004544/0.3995, allocations: 1.394 MB / 1.005 GB, free: 11.76 MB / 0.9636 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.008337/0.4078, allocations: 0.8369 MB / 1.006 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.4101, allocations: 0.7841 MB / 1.006 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4101, allocations: 0 / 1.006 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.411, allocations: 382.6 kB / 1.007 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.4124, allocations: 236.9 kB / 1.007 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4147, allocations: 1.134 MB / 1.008 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4151, allocations: 278.9 kB / 1.008 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005166/0.4156, allocations: 119 kB / 1.008 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.4158, allocations: 60.42 kB / 1.008 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.4158, allocations: 0 / 1.008 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of Templates: time 0.4232/0.839, allocations: 61.74 MB / 1.069 GB, free: 276.5 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.53776099497918]