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.001437/0.001437, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001551/0.001551, allocations: 189.8 kB / 17.2 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.19 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.447/2.447, allocations: 437 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 68.81 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5933/0.9283, allocations: 154.4 MB / 1.169 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0455/0.9738, allocations: 30.4 MB / 1.198 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005832/0.9797, allocations: 140.8 kB / 1.199 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.9831, allocations: 1.036 MB / 1.2 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009199/0.9923, allocations: 3.162 MB / 1.203 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.9986, allocations: 2.478 MB / 1.205 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00772/1.006, allocations: 5.368 MB / 1.21 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/1.01, allocations: 2.228 MB / 1.212 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005732/1.015, allocations: 2.685 MB / 1.215 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/1.019, allocations: 1.968 MB / 1.217 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005054/1.019, allocations: 212 kB / 1.217 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/1.022, allocations: 1.08 MB / 1.218 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005659/1.022, allocations: 0.5564 MB / 1.219 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/1.024, allocations: 1.271 MB / 1.22 GB, free: 208 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/1.028, allocations: 3.282 MB / 1.223 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.028, allocations: 0 / 1.223 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/1.028, allocations: 0 / 1.223 GB, free: 12.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.186e-05/1.028, allocations: 4 kB / 1.223 GB, free: 12.91 MB / 0.92 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.004736/1.033, allocations: 2.793 MB / 1.226 GB, free: 10.05 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.033, allocations: 12.88 kB / 1.226 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/1.033, allocations: 264.8 kB / 1.226 GB, free: 9.773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/1.035, allocations: 1.457 MB / 1.228 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/1.035, allocations: 102.3 kB / 1.228 GB, free: 8.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.036, allocations: 147.9 kB / 1.228 GB, free: 7.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/1.038, allocations: 1.156 MB / 1.229 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.038, allocations: 0 / 1.229 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.038, allocations: 47.94 kB / 1.229 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/1.038, allocations: 28 kB / 1.229 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/1.04, allocations: 1.02 MB / 1.23 GB, free: 5.711 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.009477/1.049, allocations: 6.363 MB / 1.236 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/1.05, allocations: 0.5683 MB / 1.237 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/1.051, allocations: 391.5 kB / 1.237 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004173/1.051, allocations: 0.507 MB / 1.238 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.051, allocations: 39.12 kB / 1.238 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001263/1.052, allocations: 226.9 kB / 1.238 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 2.625e-06/1.052, allocations: 0 / 1.238 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.002154/1.055, allocations: 1.168 MB / 1.239 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.055, allocations: 55.97 kB / 1.239 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/1.057, allocations: 1.904 MB / 1.241 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/1.057, allocations: 41.7 kB / 1.241 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007288/1.058, allocations: 0.9262 MB / 1.242 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/1.058, allocations: 201.1 kB / 1.242 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/1.058, allocations: 294.6 kB / 1.242 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.059, allocations: 349.9 kB / 1.243 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008063/1.059, allocations: 449.9 kB / 1.243 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.06, allocations: 0.6879 MB / 1.244 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/1.062, allocations: 0.9696 MB / 1.245 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.062, allocations: 4 kB / 1.245 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002499/1.064, allocations: 1.408 MB / 1.246 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.065, allocations: 4 kB / 1.246 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.065, allocations: 4.375 kB / 1.246 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.065, allocations: 12 kB / 1.246 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.066, allocations: 275.6 kB / 1.247 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.066, allocations: 11.94 kB / 1.247 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.067, allocations: 79.86 kB / 1.247 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.067, allocations: 63.95 kB / 1.247 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001285/1.069, allocations: 0.7134 MB / 1.247 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009631/1.07, allocations: 0.6536 MB / 1.248 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001459/1.071, allocations: 0.9227 MB / 1.249 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/1.071, allocations: 0 / 1.249 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002324/1.073, allocations: 1.346 MB / 1.25 GB, free: 192 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.073, allocations: 8 kB / 1.25 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.073, allocations: 7.984 kB / 1.25 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.074, allocations: 11.94 kB / 1.25 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.075, allocations: 267.6 kB / 1.251 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.075, allocations: 11.94 kB / 1.251 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.076, allocations: 96.16 kB / 1.251 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.076, allocations: 59.89 kB / 1.251 GB, free: 15.73 MB / 0.9512 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.000279/1.077, allocations: 236.1 kB / 1.251 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/1.077, allocations: 205.4 kB / 1.251 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.079, allocations: 1.094 MB / 1.252 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.079, allocations: 11.98 kB / 1.252 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.079, allocations: 0 / 1.252 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.079, allocations: 7.922 kB / 1.252 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/1.083, allocations: 2.445 MB / 1.255 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/1.083, allocations: 4 kB / 1.255 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/1.083, allocations: 140 kB / 1.255 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/1.083, allocations: 4 kB / 1.255 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.083, allocations: 20 kB / 1.255 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.083, allocations: 7.984 kB / 1.255 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.083, allocations: 0 / 1.255 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.085, allocations: 1.066 MB / 1.256 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/1.085, allocations: 366.2 kB / 1.256 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.086, allocations: 15.94 kB / 1.256 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/1.086, allocations: 39.95 kB / 1.256 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.087, allocations: 48.59 kB / 1.256 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/1.087, allocations: 27.98 kB / 1.256 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001645/1.088, allocations: 1.252 MB / 1.257 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.257 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00194/1.09, allocations: 0.8927 MB / 1.258 GB, free: 7.703 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.0006387/1.091, allocations: 346 kB / 1.259 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0031/1.094, allocations: 1.668 MB / 1.26 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.094, allocations: 0 / 1.26 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/1.095, allocations: 416.9 kB / 1.261 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/1.099, allocations: 1.087 MB / 1.262 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/1.104, allocations: 3.082 MB / 1.265 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/1.105, allocations: 1.405 MB / 1.266 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/1.105, allocations: 163.4 kB / 1.266 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of SimCode: time 9.51e-07/1.105, allocations: 0 / 1.266 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.04252/1.148, allocations: 30.83 MB / 1.296 GB, free: 0.9961 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=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