Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Valves.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.001743/0.001743, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002083/0.002083, allocations: 211.8 kB / 23 MB, free: 4.969 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.115/3.115, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.m_flow|modThr.portByp_a.m_flow|modThr.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.m_flow|modTwo.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.m_flow|twoThr.portByp_a.m_flow|twoThr.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.m_flow|twoTwo.m_flow_nominal",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Valves") translateModel(Buildings.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.m_flow|modThr.portByp_a.m_flow|modThr.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.m_flow|modTwo.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.m_flow|twoThr.portByp_a.m_flow|twoThr.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.m_flow|twoTwo.m_flow_nominal",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Valves") [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.002044/0.002044, allocations: 75.12 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2947, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Valves): time 1.228/1.523, allocations: 0.5692 GB / 1.896 GB, free: 8.531 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.1711/1.694, allocations: 109.3 MB / 2.003 GB, free: 11.02 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02207/1.716, allocations: 0.9255 MB / 2.004 GB, free: 10.08 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.004581/1.721, allocations: 1.522 MB / 2.005 GB, free: 8.551 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.732, allocations: 3.856 MB / 2.009 GB, free: 4.68 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/1.742, allocations: 4.034 MB / 2.013 GB, free: 0.668 MB / 1.482 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Components/Data/Valve.mo:14:3-20:68:writable] Warning: Parameter non.dat.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.01101/1.753, allocations: 8.365 MB / 2.021 GB, free: 8.273 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/1.757, allocations: 2.535 MB / 2.024 GB, free: 5.676 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007467/1.764, allocations: 3.486 MB / 2.027 GB, free: 2.184 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004292/1.768, allocations: 2.372 MB / 2.029 GB, free: 15.8 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.0008378/1.769, allocations: 324 kB / 2.03 GB, free: 15.48 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/1.773, allocations: 1.342 MB / 2.031 GB, free: 14.14 MB / 1.514 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/1.774, allocations: 0.8677 MB / 2.032 GB, free: 13.27 MB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/1.776, allocations: 1.427 MB / 2.033 GB, free: 11.84 MB / 1.514 GB Notification: Performance of NFConvertDAE.convert: time 0.007083/1.783, allocations: 5.269 MB / 2.038 GB, free: 6.559 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.783, allocations: 0 / 2.038 GB, free: 6.559 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.694e-06/1.783, allocations: 7.938 kB / 2.038 GB, free: 6.551 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0001103/1.783, allocations: 0 / 2.038 GB, free: 6.551 MB / 1.514 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.007349/1.79, allocations: 3.798 MB / 2.042 GB, free: 2.695 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.79, allocations: 11.97 kB / 2.042 GB, free: 2.684 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/1.791, allocations: 401.5 kB / 2.043 GB, free: 2.289 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/1.797, allocations: 2.651 MB / 2.045 GB, free: 15.56 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/1.797, allocations: 139.3 kB / 2.045 GB, free: 15.42 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/1.797, allocations: 188 kB / 2.045 GB, free: 15.24 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/1.801, allocations: 1.976 MB / 2.047 GB, free: 13.18 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/1.801, allocations: 4 kB / 2.047 GB, free: 13.18 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.801, allocations: 72 kB / 2.047 GB, free: 13.11 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/1.801, allocations: 40 kB / 2.048 GB, free: 13.07 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/1.804, allocations: 1.313 MB / 2.049 GB, free: 11.75 MB / 1.529 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.01182/1.816, allocations: 5.963 MB / 2.055 GB, free: 5.684 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.817, allocations: 0.6739 MB / 2.055 GB, free: 4.996 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/1.818, allocations: 381.5 kB / 2.056 GB, free: 4.621 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/1.818, allocations: 56.61 kB / 2.056 GB, free: 4.566 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/1.82, allocations: 0.681 MB / 2.056 GB, free: 3.828 MB / 1.529 GB Notification: Performance of pre-optimization done (n=73): time 2.955e-06/1.82, allocations: 0 / 2.056 GB, free: 3.828 MB / 1.529 GB Notification: Performance of matching and sorting (n=73): time 0.003036/1.823, allocations: 1.308 MB / 2.058 GB, free: 2.516 MB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/1.823, allocations: 89.7 kB / 2.058 GB, free: 2.406 MB / 1.529 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Components/Data/Valve.mo:14:3-20:68:writable] Warning: Parameter non.dat.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/1.826, allocations: 2.49 MB / 2.06 GB, free: 15.9 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/1.826, allocations: 57.7 kB / 2.06 GB, free: 15.84 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.828, allocations: 1.414 MB / 2.062 GB, free: 14.42 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/1.828, allocations: 261.8 kB / 2.062 GB, free: 14.16 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/1.829, allocations: 290.5 kB / 2.062 GB, free: 13.87 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.829, allocations: 349.9 kB / 2.062 GB, free: 13.52 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/1.83, allocations: 477.9 kB / 2.063 GB, free: 13.05 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.831, allocations: 1.411 MB / 2.064 GB, free: 11.36 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/1.833, allocations: 1.099 MB / 2.065 GB, free: 10.16 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.833, allocations: 4 kB / 2.065 GB, free: 10.15 MB / 1.545 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003196/1.837, allocations: 1.535 MB / 2.067 GB, free: 8.609 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.837, allocations: 10.34 kB / 2.067 GB, free: 8.602 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.837, allocations: 12.06 kB / 2.067 GB, free: 8.59 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/1.837, allocations: 23.92 kB / 2.067 GB, free: 8.566 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/1.839, allocations: 411.4 kB / 2.067 GB, free: 8.164 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/1.842, allocations: 4.181 MB / 2.071 GB, free: 3.82 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.844, allocations: 183.1 kB / 2.072 GB, free: 3.641 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.844, allocations: 60.06 kB / 2.072 GB, free: 3.582 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001862/1.846, allocations: 0.9476 MB / 2.073 GB, free: 2.629 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001648/1.848, allocations: 1.409 MB / 2.074 GB, free: 0.9258 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/1.85, allocations: 1.092 MB / 2.075 GB, free: 15.71 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.294e-05/1.85, allocations: 0 / 2.075 GB, free: 15.71 MB / 1.561 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00315/1.853, allocations: 1.499 MB / 2.076 GB, free: 14.2 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.853, allocations: 8 kB / 2.076 GB, free: 14.2 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.853, allocations: 8 kB / 2.076 GB, free: 14.19 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.853, allocations: 16 kB / 2.076 GB, free: 14.17 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.854, allocations: 320 kB / 2.077 GB, free: 13.86 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/1.854, allocations: 19.94 kB / 2.077 GB, free: 13.84 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.856, allocations: 183.6 kB / 2.077 GB, free: 13.66 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.857, allocations: 63.97 kB / 2.077 GB, free: 13.6 MB / 1.561 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,twoTwo.y0_actual.lesHys.y,$PRE.twoTwo.y0_actual.lesHys.y,twoTwo.y1_actual.greHys.y,$PRE.twoTwo.y1_actual.greHys.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],twoThr.y0_actual.lesHys.y,$PRE.twoThr.y0_actual.lesHys.y,twoThr.y1_actual.greHys.y,$PRE.twoThr.y1_actual.greHys.y,bus3.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000392/1.857, allocations: 271.8 kB / 2.077 GB, free: 13.32 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/1.857, allocations: 266.2 kB / 2.078 GB, free: 13.06 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.86, allocations: 1.105 MB / 2.079 GB, free: 11.94 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/1.862, allocations: 1.085 MB / 2.08 GB, free: 10.77 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.862, allocations: 0 / 2.08 GB, free: 10.77 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000977/1.863, allocations: 393.9 kB / 2.08 GB, free: 10.38 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.863, allocations: 24 kB / 2.08 GB, free: 10.36 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.864, allocations: 83.89 kB / 2.08 GB, free: 10.28 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.864, allocations: 72.52 kB / 2.08 GB, free: 10.21 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003418/1.868, allocations: 1.337 MB / 2.082 GB, free: 8.84 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00309/1.871, allocations: 1.803 MB / 2.083 GB, free: 7.023 MB / 1.561 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007764/1.871, allocations: 393 kB / 2.084 GB, free: 6.637 MB / 1.561 GB Notification: Performance of sorting global known variables: time 0.002456/1.874, allocations: 1.651 MB / 2.085 GB, free: 4.988 MB / 1.561 GB Notification: Performance of Backend: time 4.21e-07/1.874, allocations: 0 / 2.085 GB, free: 4.988 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.005933/1.88, allocations: 1.907 MB / 2.087 GB, free: 3.074 MB / 1.561 GB Notification: Performance of SimCode: time 0.0108/1.891, allocations: 6.093 MB / 2.093 GB, free: 12.99 MB / 1.576 GB Notification: Performance of Templates: time 0.09652/1.987, allocations: 60.66 MB / 2.152 GB, free: 1.418 MB / 1.623 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Valves.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Valves.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Valves.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Valves.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Valves.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Valves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Valves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Valves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Valves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.Valves.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: 12.060416010004701]