Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.002562/0.002562, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.0026/0.0026, allocations: 218.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.729/1.729, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7958 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 68.48 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3937, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0191/0.4128, allocations: 15.72 MB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007084/0.4199, allocations: 4.665 MB / 1.347 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.4205, allocations: 23.75 kB / 1.347 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.4213, allocations: 202.6 kB / 1.347 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.423, allocations: 0.5963 MB / 1.348 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4247, allocations: 0.5836 MB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.4261, allocations: 0.9625 MB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.4266, allocations: 264.4 kB / 1.35 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009008/0.4275, allocations: 474.1 kB / 1.35 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.428, allocations: 302.7 kB / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.428, allocations: 20 kB / 1.35 GB, free: 9.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.4286, allocations: 239.6 kB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4287, allocations: 83.56 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.4289, allocations: 206.8 kB / 1.351 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.4297, allocations: 0.4979 MB / 1.351 GB, free: 8.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4297, allocations: 0 / 1.351 GB, free: 8.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4297, allocations: 0 / 1.351 GB, free: 8.602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4297, allocations: 0 / 1.351 GB, free: 8.602 MB / 1.045 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.001235/0.4309, allocations: 0.664 MB / 1.352 GB, free: 7.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.431, allocations: 12.03 kB / 1.352 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4311, allocations: 48.66 kB / 1.352 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.4318, allocations: 343.2 kB / 1.352 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.4318, allocations: 24.56 kB / 1.352 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.4319, allocations: 24 kB / 1.352 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.4322, allocations: 195.2 kB / 1.353 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4322, allocations: 0 / 1.353 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4323, allocations: 16 kB / 1.353 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4323, allocations: 4 kB / 1.353 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.4325, allocations: 133.7 kB / 1.353 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.4341, allocations: 0.8445 MB / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.4346, allocations: 110.6 kB / 1.354 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.4346, allocations: 44.84 kB / 1.354 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.4348, allocations: 31.97 kB / 1.354 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4348, allocations: 34.56 kB / 1.354 GB, free: 5.938 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4348, allocations: 0 / 1.354 GB, free: 5.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003913/0.4352, allocations: 177.2 kB / 1.354 GB, free: 5.758 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.4353, allocations: 51.41 kB / 1.354 GB, free: 5.695 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.4358, allocations: 453.9 kB / 1.354 GB, free: 5.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.4359, allocations: 33.7 kB / 1.354 GB, free: 5.211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4361, allocations: 212.4 kB / 1.355 GB, free: 5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.4361, allocations: 43.62 kB / 1.355 GB, free: 4.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.4362, allocations: 57.64 kB / 1.355 GB, free: 4.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4364, allocations: 350.8 kB / 1.355 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.4365, allocations: 43.97 kB / 1.355 GB, free: 4.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.4367, allocations: 110.7 kB / 1.355 GB, free: 4.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.4369, allocations: 139.2 kB / 1.355 GB, free: 4.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4369, allocations: 3.938 kB / 1.355 GB, free: 4.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000367/0.4373, allocations: 213.3 kB / 1.356 GB, free: 4.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4373, allocations: 8 kB / 1.356 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4373, allocations: 0 / 1.356 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4373, allocations: 4 kB / 1.356 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4375, allocations: 43.97 kB / 1.356 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4375, allocations: 7.938 kB / 1.356 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4378, allocations: 35.83 kB / 1.356 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.4379, allocations: 15.92 kB / 1.356 GB, free: 3.895 MB / 1.045 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.0001631/0.438, allocations: 153.8 kB / 1.356 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.4381, allocations: 43.72 kB / 1.356 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.4385, allocations: 195.7 kB / 1.356 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4385, allocations: 8 kB / 1.356 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4385, allocations: 0 / 1.356 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4385, allocations: 0 / 1.356 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/0.4393, allocations: 0.5903 MB / 1.357 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4393, allocations: 4 kB / 1.357 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.4394, allocations: 32.2 kB / 1.357 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4394, allocations: 4.125 kB / 1.357 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4394, allocations: 4 kB / 1.357 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4394, allocations: 3.938 kB / 1.357 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4395, allocations: 7.938 kB / 1.357 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.4398, allocations: 302.7 kB / 1.357 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4399, allocations: 59.67 kB / 1.357 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.4399, allocations: 0 / 1.357 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4402, allocations: 15.98 kB / 1.357 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.4402, allocations: 11.92 kB / 1.357 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4402, allocations: 8 kB / 1.357 GB, free: 2.363 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004023/0.4406, allocations: 319 kB / 1.357 GB, free: 2.055 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4406, allocations: 8 kB / 1.357 GB, free: 2.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004401/0.4411, allocations: 99.83 kB / 1.358 GB, free: 1.949 MB / 1.045 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.0003483/0.4414, allocations: 210.6 kB / 1.358 GB, free: 1.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.4417, allocations: 127.9 kB / 1.358 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4417, allocations: 0 / 1.358 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4418, allocations: 63.97 kB / 1.358 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.4427, allocations: 176.6 kB / 1.358 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4441, allocations: 0.683 MB / 1.359 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.4446, allocations: 0.8074 MB / 1.36 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.4447, allocations: 31.44 kB / 1.36 GB, free: 15.78 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4447, allocations: 0 / 1.36 GB, free: 15.78 MB / 1.061 GB Notification: Performance of Templates: time 0.01051/0.4552, allocations: 6.275 MB / 1.366 GB, free: 9.578 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.33604255199316]