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.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.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.001785/0.001785, allocations: 105.6 kB / 15.99 MB, free: 6.355 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.00187/0.00187, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.499/1.499, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.652/2.652, allocations: 437.1 MB / 0.7107 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 69.19 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.571/0.8698, allocations: 153 MB / 1.167 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04536/0.9152, allocations: 30.19 MB / 1.196 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005627/0.9209, allocations: 124.4 kB / 1.196 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.9245, allocations: 0.8747 MB / 1.197 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.9335, allocations: 2.947 MB / 1.2 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006189/0.9397, allocations: 2.291 MB / 1.202 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.9475, allocations: 5.395 MB / 1.208 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/0.951, allocations: 2.192 MB / 1.21 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.9574, allocations: 2.71 MB / 1.212 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.9611, allocations: 2.015 MB / 1.214 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005359/0.9617, allocations: 216 kB / 1.215 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.9643, allocations: 1.092 MB / 1.216 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.9649, allocations: 0.5642 MB / 1.216 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.9666, allocations: 1.267 MB / 1.218 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.97, allocations: 2.525 MB / 1.22 GB, free: 156 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.97, allocations: 0 / 1.22 GB, free: 156 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.97, allocations: 0 / 1.22 GB, free: 156 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.362e-05/0.97, allocations: 7.922 kB / 1.22 GB, free: 148 kB / 0.9044 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.005532/0.9756, allocations: 2.796 MB / 1.223 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9756, allocations: 16.58 kB / 1.223 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.9762, allocations: 260.8 kB / 1.223 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.9786, allocations: 1.461 MB / 1.224 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.9787, allocations: 102.3 kB / 1.225 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.979, allocations: 136 kB / 1.225 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.9814, allocations: 1.159 MB / 1.226 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.9814, allocations: 4 kB / 1.226 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.9815, allocations: 51.94 kB / 1.226 GB, free: 9.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.9816, allocations: 28 kB / 1.226 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.9836, allocations: 1.009 MB / 1.227 GB, free: 8.953 MB / 0.92 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.01132/0.9949, allocations: 6.308 MB / 1.233 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.9961, allocations: 0.5673 MB / 1.234 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.9967, allocations: 384.6 kB / 1.234 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.9972, allocations: 0.507 MB / 1.234 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.9972, allocations: 43.12 kB / 1.234 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001641/0.9989, allocations: 302.8 kB / 1.235 GB, free: 264 kB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/0.9989, allocations: 3.938 kB / 1.235 GB, free: 260 kB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.002354/1.001, allocations: 1.168 MB / 1.236 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.001, allocations: 55.97 kB / 1.236 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/1.004, allocations: 1.9 MB / 1.238 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.004, allocations: 49.7 kB / 1.238 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000887/1.005, allocations: 0.9222 MB / 1.239 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.005, allocations: 201.1 kB / 1.239 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.006, allocations: 294.5 kB / 1.239 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.006, allocations: 345.9 kB / 1.24 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/1.007, allocations: 453.9 kB / 1.24 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.008, allocations: 0.6918 MB / 1.241 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/1.01, allocations: 0.9734 MB / 1.242 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.01, allocations: 4 kB / 1.242 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002901/1.013, allocations: 1.404 MB / 1.243 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.013, allocations: 8 kB / 1.243 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.013, allocations: 8.312 kB / 1.243 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.013, allocations: 12 kB / 1.243 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.014, allocations: 275.6 kB / 1.243 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.014, allocations: 11.94 kB / 1.243 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.016, allocations: 139.6 kB / 1.243 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.016, allocations: 59.95 kB / 1.243 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001441/1.018, allocations: 0.7081 MB / 1.244 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/1.019, allocations: 0.6567 MB / 1.245 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001658/1.02, allocations: 0.9226 MB / 1.246 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/1.02, allocations: 3.938 kB / 1.246 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002836/1.023, allocations: 1.35 MB / 1.247 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.023, allocations: 14.03 kB / 1.247 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.023, allocations: 4 kB / 1.247 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.023, allocations: 8 kB / 1.247 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.025, allocations: 271.5 kB / 1.247 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/1.025, allocations: 15.98 kB / 1.247 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.027, allocations: 143.7 kB / 1.247 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.027, allocations: 67.83 kB / 1.248 GB, free: 2.824 MB / 0.9356 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.0003848/1.027, allocations: 243.9 kB / 1.248 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/1.027, allocations: 201.4 kB / 1.248 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/1.03, allocations: 1.092 MB / 1.249 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/1.03, allocations: 11.98 kB / 1.249 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.03, allocations: 0 / 1.249 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.03, allocations: 11.92 kB / 1.249 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/1.034, allocations: 2.441 MB / 1.251 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.034, allocations: 8.188 kB / 1.251 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/1.035, allocations: 131.8 kB / 1.252 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/1.035, allocations: 4 kB / 1.252 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/1.035, allocations: 23.98 kB / 1.252 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/1.035, allocations: 4 kB / 1.252 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.035, allocations: 4 kB / 1.252 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.037, allocations: 1.074 MB / 1.253 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/1.038, allocations: 358.2 kB / 1.253 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/1.038, allocations: 15.98 kB / 1.253 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/1.039, allocations: 91.77 kB / 1.253 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.039, allocations: 52.58 kB / 1.253 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/1.039, allocations: 28 kB / 1.253 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001946/1.041, allocations: 1.256 MB / 1.254 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.041, allocations: 3.938 kB / 1.254 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002273/1.043, allocations: 0.8964 MB / 1.255 GB, free: 10.73 MB / 0.9512 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.0007516/1.044, allocations: 340.7 kB / 1.256 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003488/1.048, allocations: 1.661 MB / 1.257 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.048, allocations: 0 / 1.257 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/1.048, allocations: 415.5 kB / 1.258 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.053, allocations: 1.087 MB / 1.259 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/1.06, allocations: 3.777 MB / 1.262 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.061, allocations: 1.405 MB / 1.264 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/1.061, allocations: 167.4 kB / 1.264 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of SimCode: time 8.01e-07/1.061, allocations: 0 / 1.264 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.05039/1.112, allocations: 30.82 MB / 1.294 GB, free: 3.355 MB / 0.9825 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=400 -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