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.001966/0.001966, allocations: 110 kB / 16.41 MB, free: 6.461 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.002554/0.002554, allocations: 189.5 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.425/1.425, 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.565/2.565, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 63.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4/1.402, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03434/1.436, allocations: 30.76 MB / 1.197 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.453, allocations: 10.84 MB / 1.208 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/1.455, allocations: 19.88 kB / 1.208 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.457, allocations: 405.2 kB / 1.208 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004006/1.461, allocations: 1.203 MB / 1.21 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/1.464, allocations: 0.8467 MB / 1.21 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003653/1.467, allocations: 2.067 MB / 1.212 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/1.469, allocations: 0.6778 MB / 1.213 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/1.471, allocations: 0.9999 MB / 1.214 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/1.473, allocations: 0.6767 MB / 1.215 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/1.473, allocations: 56 kB / 1.215 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/1.474, allocations: 0.6122 MB / 1.215 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/1.475, allocations: 159.3 kB / 1.215 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005686/1.475, allocations: 445.6 kB / 1.216 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/1.477, allocations: 1.102 MB / 1.217 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.477, allocations: 0 / 1.217 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.007e-06/1.477, allocations: 0 / 1.217 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.477, allocations: 3.938 kB / 1.217 GB, free: 1 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.002034/1.479, allocations: 1.186 MB / 1.218 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.479, allocations: 12.86 kB / 1.218 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/1.479, allocations: 100.3 kB / 1.218 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.48, allocations: 0.5897 MB / 1.219 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/1.48, allocations: 41 kB / 1.219 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.48, allocations: 56 kB / 1.219 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/1.481, allocations: 410.4 kB / 1.219 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/1.481, allocations: 0 / 1.219 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/1.481, allocations: 20 kB / 1.219 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/1.481, allocations: 12 kB / 1.219 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/1.482, allocations: 303.8 kB / 1.22 GB, free: 14.2 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.003154/1.485, allocations: 1.87 MB / 1.221 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/1.486, allocations: 174.4 kB / 1.222 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/1.486, allocations: 79.05 kB / 1.222 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/1.486, allocations: 340.4 kB / 1.222 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/1.486, allocations: 38.56 kB / 1.222 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/1.486, allocations: 0 / 1.222 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001008/1.487, allocations: 305.1 kB / 1.222 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.487, allocations: 51.41 kB / 1.222 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/1.488, allocations: 0.6843 MB / 1.223 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/1.488, allocations: 33.7 kB / 1.223 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/1.489, allocations: 373.2 kB / 1.223 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/1.489, allocations: 63.44 kB / 1.224 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/1.489, allocations: 94 kB / 1.224 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002172/1.489, allocations: 382.7 kB / 1.224 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/1.489, allocations: 122.2 kB / 1.224 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/1.49, allocations: 179.5 kB / 1.224 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/1.49, allocations: 244.8 kB / 1.224 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.49, allocations: 0 / 1.224 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000829/1.491, allocations: 394.6 kB / 1.225 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.491, allocations: 8 kB / 1.225 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.491, allocations: 0 / 1.225 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/1.491, allocations: 4 kB / 1.225 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.492, allocations: 163.8 kB / 1.225 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/1.494, allocations: 2.368 MB / 1.227 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/1.495, allocations: 59.64 kB / 1.227 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/1.495, allocations: 16 kB / 1.227 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004937/1.495, allocations: 251.8 kB / 1.228 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003009/1.496, allocations: 170.9 kB / 1.228 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000452/1.496, allocations: 233 kB / 1.228 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.484e-06/1.496, allocations: 4 kB / 1.228 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007975/1.497, allocations: 380.8 kB / 1.228 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.497, allocations: 6.5 kB / 1.228 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.497, allocations: 4 kB / 1.228 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/1.497, allocations: 0 / 1.228 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.497, allocations: 99.88 kB / 1.229 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.498, allocations: 11.88 kB / 1.229 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/1.498, allocations: 35.86 kB / 1.229 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/1.498, allocations: 24.02 kB / 1.229 GB, free: 4.543 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.0001642/1.498, allocations: 196.2 kB / 1.229 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.498, allocations: 71.53 kB / 1.229 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/1.499, allocations: 310.8 kB / 1.229 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.499, allocations: 0 / 1.229 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.499, allocations: 0 / 1.229 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.499, allocations: 168.6 kB / 1.229 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/1.5, allocations: 4 kB / 1.229 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/1.5, allocations: 23.91 kB / 1.229 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/1.5, allocations: 11.98 kB / 1.229 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008452/1.501, allocations: 395.2 kB / 1.23 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008664/1.502, allocations: 0.5532 MB / 1.23 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002273/1.502, allocations: 101.6 kB / 1.23 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006757/1.503, allocations: 475 kB / 1.231 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/1.503, allocations: 0 / 1.231 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002804/1.505, allocations: 0.6697 MB / 1.231 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003338/1.509, allocations: 1.815 MB / 1.233 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.02895/1.538, allocations: 13.78 MB / 1.247 GB, free: 2.125 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