Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001805/0.001805, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.522/2.522, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.07, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.04027/1.111, allocations: 30.74 MB / 1.197 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01611/1.127, allocations: 10.86 MB / 1.208 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/1.129, allocations: 23.88 kB / 1.208 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/1.13, allocations: 397.2 kB / 1.208 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/1.135, allocations: 1.206 MB / 1.21 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/1.137, allocations: 0.85 MB / 1.21 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003297/1.141, allocations: 2.07 MB / 1.212 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/1.142, allocations: 0.6739 MB / 1.213 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/1.145, allocations: 0.9999 MB / 1.214 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/1.146, allocations: 0.6689 MB / 1.215 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/1.146, allocations: 56 kB / 1.215 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/1.148, allocations: 0.6161 MB / 1.215 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/1.148, allocations: 163.3 kB / 1.215 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008062/1.149, allocations: 437.6 kB / 1.216 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/1.151, allocations: 1.102 MB / 1.217 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.151, allocations: 4 kB / 1.217 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.151, allocations: 0 / 1.217 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.39e-05/1.151, allocations: 0 / 1.217 GB, free: 0.9414 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002558/1.154, allocations: 1.194 MB / 1.218 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.154, allocations: 12.62 kB / 1.218 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/1.154, allocations: 96.33 kB / 1.218 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.155, allocations: 0.5897 MB / 1.219 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/1.156, allocations: 45 kB / 1.219 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/1.156, allocations: 52 kB / 1.219 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/1.157, allocations: 406.4 kB / 1.219 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.157, allocations: 11.94 kB / 1.219 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/1.157, allocations: 20 kB / 1.219 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/1.157, allocations: 11.98 kB / 1.219 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/1.157, allocations: 303.8 kB / 1.22 GB, free: 14.12 MB / 0.9512 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.003347/1.161, allocations: 1.862 MB / 1.221 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/1.161, allocations: 166.4 kB / 1.222 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/1.161, allocations: 87.03 kB / 1.222 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/1.162, allocations: 340.5 kB / 1.222 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.162, allocations: 34.56 kB / 1.222 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/1.162, allocations: 4 kB / 1.222 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0008602/1.163, allocations: 305.1 kB / 1.222 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.163, allocations: 55.52 kB / 1.222 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/1.164, allocations: 0.6843 MB / 1.223 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/1.164, allocations: 41.64 kB / 1.223 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/1.164, allocations: 365.1 kB / 1.223 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.164, allocations: 75.42 kB / 1.224 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.164, allocations: 90 kB / 1.224 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.164, allocations: 378.8 kB / 1.224 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.165, allocations: 110.3 kB / 1.224 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/1.165, allocations: 183.5 kB / 1.224 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/1.165, allocations: 240.8 kB / 1.224 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.165, allocations: 4 kB / 1.224 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008029/1.166, allocations: 398.6 kB / 1.225 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.166, allocations: 8 kB / 1.225 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.166, allocations: 4 kB / 1.225 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.166, allocations: 4 kB / 1.225 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.167, allocations: 159.8 kB / 1.225 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/1.169, allocations: 2.368 MB / 1.227 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/1.17, allocations: 63.77 kB / 1.227 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/1.17, allocations: 8 kB / 1.227 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000453/1.17, allocations: 255.8 kB / 1.228 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003184/1.17, allocations: 174.8 kB / 1.228 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004405/1.171, allocations: 228.9 kB / 1.228 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/1.171, allocations: 0 / 1.228 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007428/1.172, allocations: 380.8 kB / 1.228 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.172, allocations: 8.031 kB / 1.228 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/1.172, allocations: 0 / 1.228 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/1.172, allocations: 4.188 kB / 1.228 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.172, allocations: 103.8 kB / 1.229 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.172, allocations: 3.938 kB / 1.229 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/1.173, allocations: 39.86 kB / 1.229 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/1.173, allocations: 19.98 kB / 1.229 GB, free: 4.48 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.173, allocations: 200.2 kB / 1.229 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.173, allocations: 75.47 kB / 1.229 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/1.174, allocations: 312.2 kB / 1.229 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.174, allocations: 4 kB / 1.229 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.174, allocations: 0 / 1.229 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/1.174, allocations: 164.6 kB / 1.229 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/1.174, allocations: 11.94 kB / 1.229 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/1.175, allocations: 15.97 kB / 1.229 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/1.175, allocations: 19.92 kB / 1.229 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007978/1.175, allocations: 380 kB / 1.23 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008422/1.176, allocations: 0.5568 MB / 1.23 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002069/1.176, allocations: 91.97 kB / 1.23 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005768/1.177, allocations: 475 kB / 1.231 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of Backend: time 4.5e-07/1.177, allocations: 0 / 1.231 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002547/1.18, allocations: 0.679 MB / 1.231 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003127/1.183, allocations: 1.823 MB / 1.233 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of Templates: time 0.02586/1.209, allocations: 13.76 MB / 1.247 GB, free: 2.062 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches