Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001709/0.001709, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001814/0.001814, allocations: 201.8 kB / 22.18 MB, free: 5.211 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.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7435, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01923/0.7627, allocations: 15.65 MB / 1.289 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00777/0.7705, allocations: 4.713 MB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006567/0.7711, allocations: 11.94 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.7719, allocations: 198.5 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.7736, allocations: 0.594 MB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.7755, allocations: 0.5749 MB / 1.295 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.7771, allocations: 0.9664 MB / 1.296 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.7776, allocations: 263.8 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/0.7784, allocations: 418.3 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.779, allocations: 322.6 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.779, allocations: 24 kB / 1.297 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.7796, allocations: 223.6 kB / 1.297 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.7797, allocations: 91.55 kB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.7799, allocations: 198.8 kB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.7807, allocations: 0.5085 MB / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7808, allocations: 3.938 kB / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7808, allocations: 0 / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.7808, allocations: 0 / 1.298 GB, free: 11.62 MB / 0.9981 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.001412/0.7822, allocations: 0.7393 MB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.7822, allocations: 8.031 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.7824, allocations: 52.61 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.7832, allocations: 422.3 kB / 1.299 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.7832, allocations: 24.56 kB / 1.299 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.7833, allocations: 24 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.7837, allocations: 191.3 kB / 1.3 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.7837, allocations: 3.984 kB / 1.3 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.7837, allocations: 12 kB / 1.3 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7837, allocations: 4 kB / 1.3 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.784, allocations: 137.7 kB / 1.3 GB, free: 9.922 MB / 0.9981 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.001626/0.7856, allocations: 0.8715 MB / 1.301 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.7861, allocations: 106.6 kB / 1.301 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.7862, allocations: 52.83 kB / 1.301 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.7865, allocations: 340.4 kB / 1.301 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.7865, allocations: 30.56 kB / 1.301 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.7865, allocations: 0 / 1.301 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004082/0.7869, allocations: 173.3 kB / 1.301 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.787, allocations: 59.34 kB / 1.301 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.7876, allocations: 453.9 kB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.7876, allocations: 33.7 kB / 1.302 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.7878, allocations: 220.4 kB / 1.302 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.7879, allocations: 39.69 kB / 1.302 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.788, allocations: 57.66 kB / 1.302 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7882, allocations: 346.8 kB / 1.302 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.7883, allocations: 55.91 kB / 1.302 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.7885, allocations: 106.3 kB / 1.303 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.7887, allocations: 131.3 kB / 1.303 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7887, allocations: 4 kB / 1.303 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003929/0.7891, allocations: 221.4 kB / 1.303 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7891, allocations: 5.562 kB / 1.303 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7891, allocations: 7.938 kB / 1.303 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7891, allocations: 3.984 kB / 1.303 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.7894, allocations: 39.98 kB / 1.303 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7894, allocations: 4 kB / 1.303 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.7897, allocations: 39.94 kB / 1.303 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.7897, allocations: 8 kB / 1.303 GB, free: 6.312 MB / 0.9981 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.0001764/0.7899, allocations: 161.6 kB / 1.303 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.79, allocations: 43.72 kB / 1.303 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.7904, allocations: 202.8 kB / 1.303 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7904, allocations: 7.984 kB / 1.303 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7904, allocations: 0 / 1.303 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7904, allocations: 0 / 1.303 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/0.7913, allocations: 0.6264 MB / 1.304 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7913, allocations: 0 / 1.304 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.7914, allocations: 23.98 kB / 1.304 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7914, allocations: 8.125 kB / 1.304 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7914, allocations: 4 kB / 1.304 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.7914, allocations: 11.92 kB / 1.304 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7914, allocations: 3.938 kB / 1.304 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.7918, allocations: 298.7 kB / 1.304 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.7919, allocations: 132.7 kB / 1.304 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.792, allocations: 4 kB / 1.305 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.7922, allocations: 11.92 kB / 1.305 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.7922, allocations: 19.92 kB / 1.305 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7922, allocations: 4 kB / 1.305 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004251/0.7927, allocations: 327.1 kB / 1.305 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7927, allocations: 0 / 1.305 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004507/0.7931, allocations: 107.8 kB / 1.305 GB, free: 4.211 MB / 0.9981 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.0004701/0.7936, allocations: 209.4 kB / 1.305 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.7939, allocations: 132.1 kB / 1.305 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7939, allocations: 4 kB / 1.305 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.794, allocations: 63.97 kB / 1.305 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.795, allocations: 174.1 kB / 1.306 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.7964, allocations: 0.6806 MB / 1.306 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.7969, allocations: 0.8035 MB / 1.307 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.7971, allocations: 66.67 kB / 1.307 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.7972, allocations: 31.44 kB / 1.307 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/0.7972, allocations: 0 / 1.307 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of Templates: time 0.01571/0.8129, allocations: 7.227 MB / 1.314 GB, free: 10.9 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.702183902263641]