Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 187.7 kB / 16.93 MB, free: 6.773 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.656, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1609/0.817, allocations: 151.1 MB / 1.171 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04028/0.8573, allocations: 30.15 MB / 1.201 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.8625, allocations: 123.1 kB / 1.201 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.8656, allocations: 0.8233 MB / 1.202 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008587/0.8742, allocations: 2.892 MB / 1.204 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005821/0.88, allocations: 2.308 MB / 1.207 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008575/0.8886, allocations: 7.393 MB / 1.214 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/0.8918, allocations: 1.843 MB / 1.216 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.897, allocations: 2.368 MB / 1.218 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.9004, allocations: 1.91 MB / 1.22 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.901, allocations: 96 kB / 1.22 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.9037, allocations: 0.9358 MB / 1.221 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.9044, allocations: 441.8 kB / 1.221 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.9065, allocations: 1.152 MB / 1.222 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.9094, allocations: 2.435 MB / 1.225 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9094, allocations: 0 / 1.225 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9094, allocations: 0 / 1.225 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001023/0.9095, allocations: 0 / 1.225 GB, free: 1.332 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004768/0.9143, allocations: 2.352 MB / 1.227 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.9143, allocations: 11.98 kB / 1.227 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.9149, allocations: 264.8 kB / 1.227 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.9173, allocations: 1.449 MB / 1.229 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.9174, allocations: 102.3 kB / 1.229 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.9176, allocations: 140 kB / 1.229 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.9198, allocations: 1.163 MB / 1.23 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.9199, allocations: 3.938 kB / 1.23 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.92, allocations: 48 kB / 1.23 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.92, allocations: 28 kB / 1.23 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.9219, allocations: 1.024 MB / 1.231 GB, free: 10.58 MB / 0.9825 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.009883/0.9318, allocations: 6.344 MB / 1.237 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009187/0.9327, allocations: 0.5719 MB / 1.238 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.9333, allocations: 390.2 kB / 1.238 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.9337, allocations: 0.5147 MB / 1.239 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.9338, allocations: 43.12 kB / 1.239 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001394/0.9352, allocations: 322.9 kB / 1.239 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=58): time 3.787e-06/0.9352, allocations: 0 / 1.239 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58): time 0.002066/0.9373, allocations: 1.137 MB / 1.24 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.9373, allocations: 63.95 kB / 1.24 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.9399, allocations: 1.904 MB / 1.242 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.94, allocations: 45.7 kB / 1.242 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/0.9408, allocations: 0.9222 MB / 1.243 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.941, allocations: 197.1 kB / 1.243 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.9412, allocations: 121.6 kB / 1.243 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9413, allocations: 345.9 kB / 1.244 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.9421, allocations: 442.3 kB / 1.244 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.9431, allocations: 0.6723 MB / 1.245 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.9447, allocations: 0.9579 MB / 1.246 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9447, allocations: 0 / 1.246 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002442/0.9471, allocations: 1.393 MB / 1.247 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.9473, allocations: 182.3 kB / 1.247 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9473, allocations: 7.938 kB / 1.247 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.9473, allocations: 12 kB / 1.247 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9485, allocations: 283.5 kB / 1.248 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.332e-05/0.9486, allocations: 11.94 kB / 1.248 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9504, allocations: 143.7 kB / 1.248 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.9506, allocations: 63.95 kB / 1.248 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.9506, allocations: 13.23 kB / 1.248 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/0.9527, allocations: 1.128 MB / 1.249 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9527, allocations: 4 kB / 1.249 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.9527, allocations: 8 kB / 1.249 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9539, allocations: 267.6 kB / 1.249 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.9539, allocations: 11.94 kB / 1.249 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.9556, allocations: 151.4 kB / 1.249 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.9557, allocations: 55.95 kB / 1.249 GB, free: 7.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008661/0.9566, allocations: 452.7 kB / 1.25 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.9571, allocations: 201.4 kB / 1.25 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.9594, allocations: 1.067 MB / 1.251 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.9594, allocations: 8 kB / 1.251 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.9594, allocations: 0 / 1.251 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.9595, allocations: 7.922 kB / 1.251 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.9635, allocations: 2.41 MB / 1.253 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.9636, allocations: 4 kB / 1.253 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.9642, allocations: 147.9 kB / 1.254 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.9642, allocations: 8 kB / 1.254 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.9643, allocations: 15.94 kB / 1.254 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.9643, allocations: 8 kB / 1.254 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9643, allocations: 3.938 kB / 1.254 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.9659, allocations: 1.055 MB / 1.255 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.9667, allocations: 386.1 kB / 1.255 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.967, allocations: 16 kB / 1.255 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.968, allocations: 99.75 kB / 1.255 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.9681, allocations: 48.53 kB / 1.255 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.9682, allocations: 27.98 kB / 1.255 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5158/1.484, allocations: 1.247 MB / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.272e-06/1.484, allocations: 0 / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004732/1.489, allocations: 0.8846 MB / 1.257 GB, free: 227.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/1.49, allocations: 346.1 kB / 1.258 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003853/1.494, allocations: 1.585 MB / 1.259 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.494, allocations: 3.938 kB / 1.259 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/1.495, allocations: 401.4 kB / 1.26 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006718/1.501, allocations: 1.149 MB / 1.261 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/1.507, allocations: 3.771 MB / 1.264 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.508, allocations: 1.407 MB / 1.266 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/1.509, allocations: 165.9 kB / 1.266 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.813e-06/1.509, allocations: 0 / 1.266 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05173/1.561, allocations: 30.74 MB / 1.296 GB, free: 208.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches