Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001627/0.001627, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001635/0.001635, allocations: 186 kB / 20.78 MB, free: 1.547 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.508/1.508, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 496.2 MB / 0.7819 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.194, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01519/1.209, allocations: 15.61 MB / 1.321 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006199/1.215, allocations: 4.665 MB / 1.325 GB, free: 19.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/1.216, allocations: 15.75 kB / 1.325 GB, free: 19.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007489/1.216, allocations: 195.6 kB / 1.325 GB, free: 18.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/1.218, allocations: 0.5842 MB / 1.326 GB, free: 18.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/1.22, allocations: 0.5717 MB / 1.327 GB, free: 18.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001251/1.221, allocations: 0.9519 MB / 1.327 GB, free: 17.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/1.221, allocations: 259.8 kB / 1.328 GB, free: 17.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/1.222, allocations: 466.3 kB / 1.328 GB, free: 17.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/1.223, allocations: 303.4 kB / 1.328 GB, free: 17.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/1.223, allocations: 24.06 kB / 1.328 GB, free: 17.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/1.223, allocations: 222.8 kB / 1.329 GB, free: 17.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/1.223, allocations: 88.05 kB / 1.329 GB, free: 17.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/1.223, allocations: 200.6 kB / 1.329 GB, free: 17.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/1.224, allocations: 0.4963 MB / 1.329 GB, free: 17.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.224, allocations: 3.938 kB / 1.329 GB, free: 17.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/1.224, allocations: 0 / 1.329 GB, free: 17.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.224, allocations: 0 / 1.329 GB, free: 17.01 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001024/1.225, allocations: 0.736 MB / 1.33 GB, free: 16.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.225, allocations: 9.906 kB / 1.33 GB, free: 16.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.225, allocations: 53.33 kB / 1.33 GB, free: 16.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/1.226, allocations: 413 kB / 1.331 GB, free: 16.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/1.226, allocations: 20.53 kB / 1.331 GB, free: 16.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/1.226, allocations: 24.28 kB / 1.331 GB, free: 16.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.226, allocations: 192.5 kB / 1.331 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.226, allocations: 0 / 1.331 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/1.226, allocations: 12 kB / 1.331 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.226, allocations: 5.656 kB / 1.331 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/1.226, allocations: 131.5 kB / 1.331 GB, free: 15.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.228, allocations: 0.8666 MB / 1.332 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/1.229, allocations: 114.8 kB / 1.332 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/1.229, allocations: 58.31 kB / 1.332 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/1.229, allocations: 335 kB / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.229, allocations: 35 kB / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.229, allocations: 0 / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004523/1.229, allocations: 178.5 kB / 1.333 GB, free: 14.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.229, allocations: 53.03 kB / 1.333 GB, free: 14.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/1.23, allocations: 447.2 kB / 1.333 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/1.23, allocations: 35.89 kB / 1.333 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.23, allocations: 210.1 kB / 1.333 GB, free: 14.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/1.23, allocations: 48.39 kB / 1.333 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/1.23, allocations: 50.28 kB / 1.333 GB, free: 14.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/1.23, allocations: 349.5 kB / 1.334 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/1.231, allocations: 49.94 kB / 1.334 GB, free: 13.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/1.231, allocations: 108 kB / 1.334 GB, free: 13.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/1.231, allocations: 134.6 kB / 1.334 GB, free: 13.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.231, allocations: 0.9375 kB / 1.334 GB, free: 13.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003835/1.231, allocations: 224.3 kB / 1.334 GB, free: 13.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.231, allocations: 5.5 kB / 1.334 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.231, allocations: 3.281 kB / 1.334 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.231, allocations: 2.75 kB / 1.334 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.232, allocations: 42.14 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.232, allocations: 10.45 kB / 1.334 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/1.232, allocations: 34.34 kB / 1.334 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.232, allocations: 18.12 kB / 1.334 GB, free: 13.54 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.232, allocations: 148.2 kB / 1.334 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/1.232, allocations: 41.28 kB / 1.334 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/1.233, allocations: 197.2 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.233, allocations: 6.344 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.233, allocations: 0 / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.233, allocations: 3.328 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/1.233, allocations: 0.6262 MB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.233, allocations: 1.156 kB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/1.233, allocations: 26.25 kB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.233, allocations: 6.656 kB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.234, allocations: 2.344 kB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.234, allocations: 1.406 kB / 1.335 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.234, allocations: 5.375 kB / 1.335 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/1.234, allocations: 302.9 kB / 1.336 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/1.234, allocations: 128.2 kB / 1.336 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/1.234, allocations: 10.12 kB / 1.336 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/1.234, allocations: 10.06 kB / 1.336 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/1.234, allocations: 17 kB / 1.336 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.234, allocations: 8.109 kB / 1.336 GB, free: 12.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003746/1.235, allocations: 319.1 kB / 1.336 GB, free: 12.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.235, allocations: 4.562 kB / 1.336 GB, free: 12.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005095/1.235, allocations: 100.4 kB / 1.336 GB, free: 12.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005063/1.236, allocations: 206.5 kB / 1.336 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003398/1.236, allocations: 118.8 kB / 1.336 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.236, allocations: 4.562 kB / 1.336 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.236, allocations: 66.58 kB / 1.337 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009788/1.237, allocations: 191.5 kB / 1.337 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/1.238, allocations: 0.6788 MB / 1.337 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.239, allocations: 0.8013 MB / 1.338 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000275/1.239, allocations: 58.59 kB / 1.338 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/1.239, allocations: 30.53 kB / 1.338 GB, free: 10.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.239, allocations: 0.5 kB / 1.338 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Templates: time 0.01878/1.258, allocations: 7.174 MB / 1.345 GB, free: 10.25 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 10.127017620019615]