Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Templates.Components.Validation.Valves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.val.res1.m_flow|modThr.val.res3.m_flow|modThr.val.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.val.m_flow|modTwo.val.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.val.res1.m_flow|twoThr.val.res3.m_flow|twoThr.val.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.val.m_flow|twoTwo.val.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Templates.Components.Validation.Valves") translateModel(Buildings.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.val.res1.m_flow|modThr.val.res3.m_flow|modThr.val.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.val.m_flow|modTwo.val.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.val.res1.m_flow|twoThr.val.res3.m_flow|twoThr.val.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.val.m_flow|twoTwo.val.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Templates.Components.Validation.Valves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 189.5 kB / 17.35 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6868, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Valves): time 0.09135/0.7782, allocations: 101.9 MB / 1.267 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02393/0.8021, allocations: 18.04 MB / 1.284 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.8052, allocations: 99.38 kB / 1.285 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.8082, allocations: 1.254 MB / 1.286 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008327/0.8165, allocations: 3.492 MB / 1.289 GB, free: 6.609 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006172/0.8227, allocations: 2.762 MB / 1.292 GB, free: 3.875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008467/0.8312, allocations: 7.753 MB / 1.299 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.8347, allocations: 3.132 MB / 1.302 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.8401, allocations: 3.316 MB / 1.306 GB, free: 5.586 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.8436, allocations: 2.658 MB / 1.308 GB, free: 2.918 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004883/0.8441, allocations: 376 kB / 1.309 GB, free: 2.551 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.8467, allocations: 1.525 MB / 1.31 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007975/0.8475, allocations: 0.9034 MB / 1.311 GB, free: 120 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.8493, allocations: 1.785 MB / 1.313 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.8545, allocations: 5.465 MB / 1.318 GB, free: 8.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8545, allocations: 0 / 1.318 GB, free: 8.844 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8545, allocations: 0 / 1.318 GB, free: 8.844 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.884e-05/0.8546, allocations: 4 kB / 1.318 GB, free: 8.84 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: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.005658/0.8603, allocations: 3.604 MB / 1.322 GB, free: 5.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8603, allocations: 8.922 kB / 1.322 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.861, allocations: 366 kB / 1.322 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.8649, allocations: 2.549 MB / 1.324 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.865, allocations: 147.1 kB / 1.325 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.8653, allocations: 204 kB / 1.325 GB, free: 1.836 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.868, allocations: 1.751 MB / 1.327 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.8681, allocations: 0 / 1.327 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.8683, allocations: 72.06 kB / 1.327 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.8683, allocations: 67.02 kB / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.8706, allocations: 1.332 MB / 1.328 GB, free: 14.56 MB / 1.061 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.01069/0.8813, allocations: 8.629 MB / 1.336 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.8825, allocations: 0.7129 MB / 1.337 GB, free: 4.762 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006357/0.8832, allocations: 414.6 kB / 1.337 GB, free: 4.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.8836, allocations: 0.511 MB / 1.338 GB, free: 3.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008844/0.8845, allocations: 0.5118 MB / 1.338 GB, free: 3.207 MB / 1.061 GB Notification: Performance of pre-optimization done (n=81): time 2.514e-06/0.8845, allocations: 0 / 1.338 GB, free: 3.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=81): time 0.002526/0.887, allocations: 1.324 MB / 1.34 GB, free: 1.875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8871, allocations: 60.06 kB / 1.34 GB, free: 1.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.89, allocations: 2.384 MB / 1.342 GB, free: 15.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.8902, allocations: 65.7 kB / 1.342 GB, free: 15.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.8913, allocations: 1.197 MB / 1.343 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.8915, allocations: 293.5 kB / 1.344 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006137/0.8921, allocations: 387.2 kB / 1.344 GB, free: 13.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8923, allocations: 353.9 kB / 1.344 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/0.8931, allocations: 491 kB / 1.345 GB, free: 12.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.895, allocations: 1.55 MB / 1.346 GB, free: 10.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.8967, allocations: 1.164 MB / 1.347 GB, free: 9.504 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.8967, allocations: 4 kB / 1.347 GB, free: 9.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002658/0.8994, allocations: 1.573 MB / 1.349 GB, free: 7.918 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8994, allocations: 8 kB / 1.349 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.8995, allocations: 8 kB / 1.349 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.8995, allocations: 12 kB / 1.349 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.9012, allocations: 371.9 kB / 1.349 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000691/0.9019, allocations: 1.199 MB / 1.351 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/0.9071, allocations: 1.092 MB / 1.352 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.9072, allocations: 55.98 kB / 1.352 GB, free: 5.133 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001645/0.9089, allocations: 0.936 MB / 1.353 GB, free: 4.191 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001847/0.9108, allocations: 1.552 MB / 1.354 GB, free: 2.332 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001627/0.9124, allocations: 1.145 MB / 1.355 GB, free: 1.074 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.463e-06/0.9124, allocations: 4 kB / 1.355 GB, free: 1.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002733/0.9151, allocations: 1.552 MB / 1.357 GB, free: 15.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9152, allocations: 11.94 kB / 1.357 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9152, allocations: 8.844 kB / 1.357 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9152, allocations: 12 kB / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.9165, allocations: 331.5 kB / 1.357 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.9166, allocations: 19.94 kB / 1.357 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/0.9233, allocations: 1.49 MB / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9235, allocations: 55.98 kB / 1.359 GB, free: 13.59 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,twoTwo.evaClo.lesHys.y,$PRE.twoTwo.evaClo.lesHys.y,twoTwo.evaOpe.greHys.y,$PRE.twoTwo.evaOpe.greHys.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],twoThr.evaClo.lesHys.y,$PRE.twoThr.evaClo.lesHys.y,twoThr.evaOpe.greHys.y,$PRE.twoThr.evaOpe.greHys.y,bus3.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.9239, allocations: 284.4 kB / 1.359 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.9242, allocations: 254.3 kB / 1.359 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.9263, allocations: 1.132 MB / 1.36 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001471/0.9278, allocations: 1.136 MB / 1.361 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9278, allocations: 3.984 kB / 1.361 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006954/0.9285, allocations: 487.1 kB / 1.362 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.9288, allocations: 27.98 kB / 1.362 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9299, allocations: 63.92 kB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.9301, allocations: 80.89 kB / 1.362 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002508/0.9326, allocations: 1.182 MB / 1.363 GB, free: 8.828 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002531/0.9352, allocations: 1.849 MB / 1.365 GB, free: 6.961 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006621/0.9359, allocations: 471.7 kB / 1.365 GB, free: 6.504 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002183/0.938, allocations: 1.594 MB / 1.367 GB, free: 4.906 MB / 1.092 GB Notification: Performance of Backend: time 4.11e-07/0.9381, allocations: 0 / 1.367 GB, free: 4.906 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00449/0.9426, allocations: 1.946 MB / 1.369 GB, free: 2.957 MB / 1.092 GB Notification: Performance of SimCode: time 0.008623/0.9512, allocations: 5.459 MB / 1.374 GB, free: 13.47 MB / 1.107 GB Notification: Performance of Templates: time 0.0839/1.035, allocations: 57.08 MB / 1.43 GB, free: 4.965 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Valves.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Valves.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Valves.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Valves.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Valves.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Valves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Valves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Valves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Valves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Valves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches