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.0008004/0.0008004, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007999/0.0007999, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8218/0.8218, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.691/1.691, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.999e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.4993/0.4993, allocations: 143.7 MB / 1.121 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.5074, allocations: 8.179 MB / 1.129 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.508, allocations: 27.56 kB / 1.129 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.5089, allocations: 333.4 kB / 1.13 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.5114, allocations: 1.158 MB / 1.131 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.5162, allocations: 2.19 MB / 1.133 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.5177, allocations: 1.404 MB / 1.134 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.5182, allocations: 358.9 kB / 1.135 GB, free: 8.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.522, allocations: 2.416 MB / 1.137 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.5237, allocations: 1.215 MB / 1.138 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.5238, allocations: 51.38 kB / 1.138 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00483/0.5286, allocations: 2.799 MB / 1.141 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.5289, allocations: 162.5 kB / 1.141 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.5293, allocations: 249.1 kB / 1.141 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.5336, allocations: 2.661 MB / 1.144 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5336, allocations: 0 / 1.144 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5336, allocations: 0 / 1.144 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5337, allocations: 4 kB / 1.144 GB, free: 4.988 MB / 0.9948 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.002069/0.5357, allocations: 0.9382 MB / 1.145 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5358, allocations: 9.562 kB / 1.145 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.188e-05/0.5358, allocations: 99.52 kB / 1.145 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/0.5365, allocations: 155.5 kB / 1.145 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.537, allocations: 369 kB / 1.145 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.537, allocations: 39.38 kB / 1.146 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.5371, allocations: 50.08 kB / 1.146 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.538, allocations: 0.9937 MB / 1.147 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.538, allocations: 1.281 kB / 1.147 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.5381, allocations: 26.53 kB / 1.147 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5381, allocations: 13.47 kB / 1.147 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.5388, allocations: 496.8 kB / 1.147 GB, free: 3.008 MB / 0.9948 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.002048/0.5408, allocations: 2.259 MB / 1.149 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.5412, allocations: 262 kB / 1.15 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.5414, allocations: 156.8 kB / 1.15 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.5516, allocations: 4.933 MB / 1.154 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5516, allocations: 42.23 kB / 1.155 GB, free: 0.5547 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.5516, allocations: 0 / 1.155 GB, free: 0.5547 MB / 0.9948 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.04714/0.5987, allocations: 31.66 MB / 1.185 GB, free: 8.805 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.5988, allocations: 133 kB / 1.186 GB, free: 8.645 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.5991, allocations: 385.5 kB / 1.186 GB, free: 8.262 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.5992, allocations: 37.7 kB / 1.186 GB, free: 8.219 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5993, allocations: 296.8 kB / 1.186 GB, free: 7.926 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5994, allocations: 198.3 kB / 1.186 GB, free: 7.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5995, allocations: 106.3 kB / 1.187 GB, free: 7.621 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5996, allocations: 354.8 kB / 1.187 GB, free: 7.266 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.6, allocations: 237.2 kB / 1.187 GB, free: 7.031 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.6004, allocations: 450.5 kB / 1.188 GB, free: 6.523 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.6011, allocations: 0.5993 MB / 1.188 GB, free: 5.883 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6012, allocations: 4 kB / 1.188 GB, free: 5.879 MB / 1.01 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00128/0.6024, allocations: 0.7874 MB / 1.189 GB, free: 5.078 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6025, allocations: 11.98 kB / 1.189 GB, free: 5.066 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6025, allocations: 384 / 1.189 GB, free: 5.066 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.6028, allocations: 125.6 kB / 1.189 GB, free: 4.938 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.6031, allocations: 131.7 kB / 1.189 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.6053, allocations: 3.202 MB / 1.192 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.6057, allocations: 40.19 kB / 1.192 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.6057, allocations: 24 kB / 1.192 GB, free: 1.32 MB / 1.01 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.000258/0.606, allocations: 193.6 kB / 1.193 GB, free: 1.121 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6061, allocations: 51.72 kB / 1.193 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.6072, allocations: 0.7999 MB / 1.193 GB, free: 268 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.6072, allocations: 4.938 kB / 1.193 GB, free: 264 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6072, allocations: 0.875 kB / 1.193 GB, free: 264 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6072, allocations: 0 / 1.193 GB, free: 264 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.6092, allocations: 1.49 MB / 1.195 GB, free: 14.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6092, allocations: 0 / 1.195 GB, free: 14.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.6094, allocations: 108.3 kB / 1.195 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.6096, allocations: 72.73 kB / 1.195 GB, free: 14.5 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.6096, allocations: 14.44 kB / 1.195 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.6108, allocations: 1.664 MB / 1.197 GB, free: 12.71 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6108, allocations: 4 kB / 1.197 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.612, allocations: 1.032 MB / 1.198 GB, free: 11.61 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.6121, allocations: 55.61 kB / 1.198 GB, free: 11.56 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.6122, allocations: 24 kB / 1.198 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.6125, allocations: 23.97 kB / 1.198 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.6125, allocations: 47.81 kB / 1.198 GB, free: 11.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.6126, allocations: 27.98 kB / 1.198 GB, free: 11.44 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003236/0.6129, allocations: 354.8 kB / 1.198 GB, free: 11.09 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6129, allocations: 0 / 1.198 GB, free: 11.09 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.005409/0.6183, allocations: 1.39 MB / 1.2 GB, free: 9.699 MB / 1.026 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.00892/0.6272, allocations: 2.295 MB / 1.202 GB, free: 7.336 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.6287, allocations: 0.7733 MB / 1.203 GB, free: 6.535 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.6287, allocations: 4 kB / 1.203 GB, free: 6.531 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.6292, allocations: 375.2 kB / 1.203 GB, free: 6.152 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.6304, allocations: 345.2 kB / 1.203 GB, free: 5.824 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/0.6392, allocations: 5.763 MB / 1.209 GB, free: 15.81 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6395, allocations: 279.5 kB / 1.209 GB, free: 15.51 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.64, allocations: 140.3 kB / 1.209 GB, free: 15.38 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.6402, allocations: 220.4 kB / 1.209 GB, free: 15.16 MB / 1.042 GB Notification: Performance of SimCode: time 1.322e-06/0.6402, allocations: 0 / 1.209 GB, free: 15.16 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08764/0.7278, allocations: 71.87 MB / 1.28 GB, free: 8.234 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.252/9.98, allocations: 3.25 kB / 1.28 GB, free: 8.234 MB / 1.104 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 420.0] 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: 17.6810149140656]