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.002043/0.002043, allocations: 113.8 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.002507/0.002507, 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.831/2.831, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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.001987/0.001987, allocations: 67.89 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01833/1.11, allocations: 15.65 MB / 1.287 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008428/1.118, allocations: 4.716 MB / 1.292 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/1.119, allocations: 16.12 kB / 1.292 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008791/1.12, allocations: 196.6 kB / 1.292 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/1.122, allocations: 0.5895 MB / 1.293 GB, free: 9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/1.125, allocations: 0.5764 MB / 1.293 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001715/1.126, allocations: 0.9643 MB / 1.294 GB, free: 8.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/1.127, allocations: 260.9 kB / 1.294 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009558/1.128, allocations: 425.6 kB / 1.295 GB, free: 7.973 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/1.128, allocations: 316.9 kB / 1.295 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/1.128, allocations: 23.34 kB / 1.295 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/1.129, allocations: 223.4 kB / 1.295 GB, free: 7.762 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/1.129, allocations: 85.16 kB / 1.295 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/1.129, allocations: 202.1 kB / 1.296 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008992/1.13, allocations: 0.511 MB / 1.296 GB, free: 7.398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.13, allocations: 0 / 1.296 GB, free: 7.398 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.13, allocations: 0 / 1.296 GB, free: 7.398 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.13, allocations: 0 / 1.296 GB, free: 7.398 MB / 1.014 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.001372/1.132, allocations: 0.7427 MB / 1.297 GB, free: 6.797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.132, allocations: 9.062 kB / 1.297 GB, free: 6.797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/1.132, allocations: 53.38 kB / 1.297 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/1.133, allocations: 412.8 kB / 1.297 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/1.133, allocations: 23.03 kB / 1.297 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/1.133, allocations: 25.59 kB / 1.297 GB, free: 6.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/1.133, allocations: 199.2 kB / 1.298 GB, free: 6.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.133, allocations: 0 / 1.298 GB, free: 6.352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/1.133, allocations: 16.31 kB / 1.298 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/1.133, allocations: 3.594 kB / 1.298 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/1.133, allocations: 130.9 kB / 1.298 GB, free: 6.301 MB / 1.014 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.001657/1.135, allocations: 0.8806 MB / 1.299 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/1.135, allocations: 106.6 kB / 1.299 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/1.136, allocations: 57.73 kB / 1.299 GB, free: 5.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/1.136, allocations: 335.5 kB / 1.299 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.136, allocations: 31.75 kB / 1.299 GB, free: 5.203 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/1.136, allocations: 0 / 1.299 GB, free: 5.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0004124/1.136, allocations: 180.7 kB / 1.299 GB, free: 5.113 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.136, allocations: 52.11 kB / 1.299 GB, free: 5.051 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/1.137, allocations: 457.8 kB / 1.3 GB, free: 4.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.137, allocations: 33.7 kB / 1.3 GB, free: 4.801 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/1.137, allocations: 215 kB / 1.3 GB, free: 4.625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.137, allocations: 46.97 kB / 1.3 GB, free: 4.586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.137, allocations: 56.91 kB / 1.3 GB, free: 4.551 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.138, allocations: 348.7 kB / 1.3 GB, free: 4.223 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/1.138, allocations: 55.78 kB / 1.3 GB, free: 4.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/1.138, allocations: 107.2 kB / 1.301 GB, free: 4.133 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/1.138, allocations: 137.9 kB / 1.301 GB, free: 4.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.138, allocations: 0 / 1.301 GB, free: 4.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003708/1.139, allocations: 214.8 kB / 1.301 GB, free: 3.949 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.139, allocations: 6.344 kB / 1.301 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.139, allocations: 0 / 1.301 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.139, allocations: 4.297 kB / 1.301 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/1.139, allocations: 42.83 kB / 1.301 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.139, allocations: 2.484 kB / 1.301 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/1.139, allocations: 42.83 kB / 1.301 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/1.139, allocations: 9.734 kB / 1.301 GB, free: 3.922 MB / 1.014 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.0001903/1.139, allocations: 157.7 kB / 1.301 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/1.139, allocations: 45.34 kB / 1.301 GB, free: 3.754 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/1.14, allocations: 194 kB / 1.301 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.14, allocations: 11.7 kB / 1.301 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.14, allocations: 0 / 1.301 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.14, allocations: 0.7969 kB / 1.301 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/1.141, allocations: 0.6286 MB / 1.302 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.141, allocations: 1.906 kB / 1.302 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.141, allocations: 22.69 kB / 1.302 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.141, allocations: 5.5 kB / 1.302 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.141, allocations: 7.25 kB / 1.302 GB, free: 3.184 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.141, allocations: 6.266 kB / 1.302 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.141, allocations: 13.75 kB / 1.302 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/1.141, allocations: 292.1 kB / 1.302 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.141, allocations: 136.7 kB / 1.302 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/1.141, allocations: 2.75 kB / 1.302 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/1.142, allocations: 14.66 kB / 1.302 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.142, allocations: 16.5 kB / 1.302 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/1.142, allocations: 5.953 kB / 1.302 GB, free: 2.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005785/1.142, allocations: 327.5 kB / 1.303 GB, free: 2.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.142, allocations: 0 / 1.303 GB, free: 2.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006349/1.143, allocations: 109.1 kB / 1.303 GB, free: 2.625 MB / 1.014 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.0005658/1.144, allocations: 206.9 kB / 1.303 GB, free: 2.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003272/1.144, allocations: 133.3 kB / 1.303 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-06/1.144, allocations: 4 kB / 1.303 GB, free: 2.461 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/1.144, allocations: 56.45 kB / 1.303 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/1.145, allocations: 180 kB / 1.303 GB, free: 2.379 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/1.146, allocations: 0.6768 MB / 1.304 GB, free: 1.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/1.147, allocations: 0.8068 MB / 1.305 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002783/1.147, allocations: 67.09 kB / 1.305 GB, free: 1.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/1.147, allocations: 31.03 kB / 1.305 GB, free: 1.242 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.147, allocations: 0 / 1.305 GB, free: 1.242 MB / 1.014 GB Notification: Performance of Templates: time 0.01798/1.165, allocations: 7.237 MB / 1.312 GB, free: 0.5859 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.69745497405529]