Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001197/0.001196, allocations: 108 kB / 16.42 MB, free: 5.996 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.001309/0.001309, allocations: 191 kB / 17.35 MB, free: 5.605 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 55.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8866, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03553/0.9221, allocations: 30.74 MB / 1.119 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.9397, allocations: 10.85 MB / 1.129 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.942, allocations: 31.44 kB / 1.129 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.9435, allocations: 397.1 kB / 1.13 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.9481, allocations: 1.204 MB / 1.131 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.9511, allocations: 0.843 MB / 1.132 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.9548, allocations: 2.078 MB / 1.134 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.9562, allocations: 0.6806 MB / 1.134 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.9589, allocations: 0.9993 MB / 1.135 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.9601, allocations: 0.6716 MB / 1.136 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.9602, allocations: 54.41 kB / 1.136 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.9619, allocations: 0.6115 MB / 1.137 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.9622, allocations: 177 kB / 1.137 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.9627, allocations: 429.8 kB / 1.137 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.9647, allocations: 1.088 MB / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9647, allocations: 0.7969 kB / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9648, allocations: 4.969 kB / 1.138 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.9648, allocations: 0 / 1.138 GB, free: 3.395 MB / 0.8887 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.002014/0.9668, allocations: 1.168 MB / 1.139 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9668, allocations: 10.08 kB / 1.139 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.967, allocations: 94.81 kB / 1.14 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.968, allocations: 0.586 MB / 1.14 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.968, allocations: 39.31 kB / 1.14 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.9681, allocations: 52.5 kB / 1.14 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.9689, allocations: 421.3 kB / 1.141 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.969, allocations: 0 / 1.141 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.969, allocations: 19.62 kB / 1.141 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.969, allocations: 10.62 kB / 1.141 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.9697, allocations: 304.4 kB / 1.141 GB, free: 1.785 MB / 0.8887 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.003032/0.9727, allocations: 1.851 MB / 1.143 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.9731, allocations: 173.5 kB / 1.143 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.9733, allocations: 88.09 kB / 1.143 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.9737, allocations: 336.1 kB / 1.143 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.9737, allocations: 36.92 kB / 1.143 GB, free: 32 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.245e-06/0.9737, allocations: 0 / 1.143 GB, free: 32 kB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.0008273/0.9746, allocations: 310 kB / 1.144 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9746, allocations: 57.58 kB / 1.144 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.9757, allocations: 0.6847 MB / 1.144 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.9757, allocations: 32.42 kB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.976, allocations: 360.5 kB / 1.145 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.9761, allocations: 65.16 kB / 1.145 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.9763, allocations: 100.1 kB / 1.145 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.9765, allocations: 375.7 kB / 1.145 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.9768, allocations: 116.2 kB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.9771, allocations: 179 kB / 1.145 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.9776, allocations: 241.7 kB / 1.146 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9776, allocations: 0 / 1.146 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008017/0.9784, allocations: 399.7 kB / 1.146 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9785, allocations: 6.375 kB / 1.146 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9785, allocations: 0.5156 kB / 1.146 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9785, allocations: 7.062 kB / 1.146 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.9796, allocations: 152.9 kB / 1.146 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.981, allocations: 2.365 MB / 1.149 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.9816, allocations: 62.03 kB / 1.149 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.9816, allocations: 22.12 kB / 1.149 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004367/0.9821, allocations: 253.4 kB / 1.149 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003361/0.9824, allocations: 175.7 kB / 1.149 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004677/0.9829, allocations: 231.9 kB / 1.149 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.9829, allocations: 1 kB / 1.149 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000733/0.9837, allocations: 378.5 kB / 1.15 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9837, allocations: 6.125 kB / 1.15 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.9837, allocations: 9.156 kB / 1.15 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.9837, allocations: 2.375 kB / 1.15 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.9841, allocations: 99.02 kB / 1.15 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.9841, allocations: 7.359 kB / 1.15 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.9846, allocations: 40.55 kB / 1.15 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.9846, allocations: 15.98 kB / 1.15 GB, free: 11.35 MB / 0.9044 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.0001367/0.9848, allocations: 199.6 kB / 1.15 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.9849, allocations: 67.06 kB / 1.15 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.9856, allocations: 317.8 kB / 1.15 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9856, allocations: 2.297 kB / 1.15 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9856, allocations: 4.703 kB / 1.15 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.9858, allocations: 165.1 kB / 1.151 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.9859, allocations: 1.891 kB / 1.151 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.9863, allocations: 19.8 kB / 1.151 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.9863, allocations: 10.69 kB / 1.151 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007998/0.9871, allocations: 379.9 kB / 1.151 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008441/0.988, allocations: 0.5547 MB / 1.151 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002242/0.9882, allocations: 93.48 kB / 1.152 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006044/0.9888, allocations: 479.3 kB / 1.152 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of Backend: time 3.31e-07/0.9888, allocations: 1.031 kB / 1.152 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0025/0.9914, allocations: 0.6709 MB / 1.153 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002857/0.9942, allocations: 1.791 MB / 1.154 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of Templates: time 0.02967/1.024, allocations: 13.76 MB / 1.168 GB, free: 3.66 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches