Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 115.4 kB / 17.08 MB, free: 5.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 194.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 71.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8733/1.225, allocations: 162.7 MB / 1.335 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01305/1.238, allocations: 8.87 MB / 1.343 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/1.239, allocations: 18.94 kB / 1.343 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/1.241, allocations: 343.2 kB / 1.344 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/1.244, allocations: 1.104 MB / 1.345 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006638/1.251, allocations: 2.127 MB / 1.347 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002251/1.253, allocations: 1.378 MB / 1.348 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/1.254, allocations: 436.7 kB / 1.349 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005753/1.26, allocations: 2.082 MB / 1.351 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/1.263, allocations: 1.301 MB / 1.352 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/1.263, allocations: 51.06 kB / 1.352 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006454/1.27, allocations: 2.898 MB / 1.355 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/1.27, allocations: 150.5 kB / 1.355 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00066/1.271, allocations: 344.8 kB / 1.355 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004459/1.275, allocations: 2.243 MB / 1.357 GB, free: 10.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.275, allocations: 1.438 kB / 1.357 GB, free: 10.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.275, allocations: 0 / 1.357 GB, free: 10.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.793e-05/1.275, allocations: 0 / 1.357 GB, free: 10.68 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002392/1.278, allocations: 1.015 MB / 1.358 GB, free: 9.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.278, allocations: 13.78 kB / 1.358 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.279, allocations: 149 kB / 1.359 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/1.28, allocations: 442.7 kB / 1.359 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/1.28, allocations: 38.34 kB / 1.359 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.28, allocations: 55.19 kB / 1.359 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.281, allocations: 0.6527 MB / 1.36 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.281, allocations: 9.328 kB / 1.36 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/1.281, allocations: 26.97 kB / 1.36 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.281, allocations: 21.84 kB / 1.36 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.282, allocations: 486.3 kB / 1.36 GB, free: 8.66 MB / 1.029 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.003604/1.286, allocations: 2.991 MB / 1.363 GB, free: 5.859 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/1.286, allocations: 278.4 kB / 1.363 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/1.287, allocations: 162.3 kB / 1.364 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01818/1.305, allocations: 5.815 MB / 1.369 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/1.305, allocations: 38.03 kB / 1.369 GB, free: 2.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.434e-06/1.305, allocations: 4 kB / 1.369 GB, free: 2.531 MB / 1.029 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.08804/1.393, allocations: 31.9 MB / 1.401 GB, free: 13.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/1.393, allocations: 136.9 kB / 1.401 GB, free: 13.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/1.394, allocations: 381.6 kB / 1.401 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/1.394, allocations: 33.7 kB / 1.401 GB, free: 12.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/1.394, allocations: 300.8 kB / 1.401 GB, free: 12.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.394, allocations: 190.4 kB / 1.402 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.394, allocations: 114.2 kB / 1.402 GB, free: 12.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.395, allocations: 350.8 kB / 1.402 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/1.395, allocations: 241 kB / 1.402 GB, free: 11.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/1.396, allocations: 376.4 kB / 1.403 GB, free: 11.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.397, allocations: 0.602 MB / 1.403 GB, free: 10.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.397, allocations: 0 / 1.403 GB, free: 10.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002015/1.399, allocations: 0.7864 MB / 1.404 GB, free: 9.719 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.399, allocations: 8 kB / 1.404 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.399, allocations: 7.938 kB / 1.404 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/1.4, allocations: 121.5 kB / 1.404 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/1.4, allocations: 131.8 kB / 1.404 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/1.404, allocations: 3.427 MB / 1.407 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/1.404, allocations: 39.91 kB / 1.408 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/1.404, allocations: 23.98 kB / 1.408 GB, free: 5.684 MB / 1.061 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.0003011/1.405, allocations: 193.8 kB / 1.408 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.405, allocations: 60.67 kB / 1.408 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/1.407, allocations: 0.7883 MB / 1.409 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/1.407, allocations: 4 kB / 1.409 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.407, allocations: 0 / 1.409 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.407, allocations: 3.984 kB / 1.409 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.41, allocations: 1.606 MB / 1.41 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.41, allocations: 4 kB / 1.41 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/1.411, allocations: 103.8 kB / 1.41 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/1.411, allocations: 70.08 kB / 1.41 GB, free: 2.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/1.411, allocations: 27.88 kB / 1.41 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/1.413, allocations: 1.779 MB / 1.412 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.413, allocations: 7.938 kB / 1.412 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.415, allocations: 1.02 MB / 1.413 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.415, allocations: 136.7 kB / 1.413 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.415, allocations: 19.94 kB / 1.413 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/1.416, allocations: 36.03 kB / 1.413 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.416, allocations: 35.89 kB / 1.413 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/1.416, allocations: 27.98 kB / 1.413 GB, free: 15.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004855/1.416, allocations: 358.8 kB / 1.414 GB, free: 15.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.416, allocations: 0 / 1.414 GB, free: 15.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005145/1.421, allocations: 1.398 MB / 1.415 GB, free: 13.68 MB / 1.076 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.008767/1.43, allocations: 0.7667 MB / 1.416 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.432, allocations: 0.823 MB / 1.417 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.432, allocations: 4 kB / 1.417 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/1.433, allocations: 379.2 kB / 1.417 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.435, allocations: 330.2 kB / 1.417 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/1.437, allocations: 1.228 MB / 1.418 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/1.438, allocations: 0.879 MB / 1.419 GB, free: 9.164 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/1.438, allocations: 71.41 kB / 1.419 GB, free: 9.094 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/1.438, allocations: 4 kB / 1.419 GB, free: 9.09 MB / 1.076 GB Notification: Performance of Templates: time 0.06844/1.506, allocations: 42.3 MB / 1.461 GB, free: 15.45 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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.441917865071446]