Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001598/0.001598, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001611/0.001611, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003625, allocations: 10.81 kB / 0.9021 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3573, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1454/0.5027, allocations: 142.7 MB / 1.197 GB, free: 6.34 MB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.04524/0.548, allocations: 28.65 MB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007054/0.5551, allocations: 115.2 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.5587, allocations: 0.6944 MB / 1.226 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.5692, allocations: 2.508 MB / 1.229 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.5762, allocations: 2.004 MB / 1.231 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009825/0.5861, allocations: 6.254 MB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.5895, allocations: 1.671 MB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.5954, allocations: 2.209 MB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.5992, allocations: 1.797 MB / 1.242 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004604/0.5996, allocations: 103.8 kB / 1.242 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.6022, allocations: 0.8501 MB / 1.243 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.6027, allocations: 418 kB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.6038, allocations: 468.5 kB / 1.244 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.6074, allocations: 2.412 MB / 1.246 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.6074, allocations: 3.984 kB / 1.246 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6074, allocations: 0 / 1.246 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.858e-05/0.6075, allocations: 0 / 1.246 GB, free: 4.102 MB / 0.9981 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.004651/0.6121, allocations: 2.364 MB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6122, allocations: 11.97 kB / 1.249 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.6127, allocations: 264.8 kB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6777/1.29, allocations: 1.368 MB / 1.25 GB, free: 59.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/1.291, allocations: 103.2 kB / 1.25 GB, free: 59.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/1.291, allocations: 138.1 kB / 1.25 GB, free: 59.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/1.294, allocations: 1.16 MB / 1.252 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.294, allocations: 1.734 kB / 1.252 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/1.294, allocations: 45.81 kB / 1.252 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/1.294, allocations: 28.09 kB / 1.252 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.296, allocations: 1.016 MB / 1.253 GB, free: 59.53 MB / 0.9981 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.009101/1.305, allocations: 6.342 MB / 1.259 GB, free: 57.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/1.306, allocations: 0.5708 MB / 1.259 GB, free: 57.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/1.306, allocations: 389.2 kB / 1.26 GB, free: 57.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.307, allocations: 0.5083 MB / 1.26 GB, free: 56.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.307, allocations: 38.53 kB / 1.26 GB, free: 56.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001524/1.308, allocations: 329.4 kB / 1.261 GB, free: 56.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 3.246e-06/1.308, allocations: 2.75 kB / 1.261 GB, free: 56.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.001872/1.31, allocations: 1.133 MB / 1.262 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.31, allocations: 61.12 kB / 1.262 GB, free: 56.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/1.312, allocations: 1.881 MB / 1.264 GB, free: 56.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/1.313, allocations: 48.64 kB / 1.264 GB, free: 56.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006824/1.313, allocations: 0.9138 MB / 1.265 GB, free: 55.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/1.313, allocations: 198.7 kB / 1.265 GB, free: 55.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/1.313, allocations: 31 kB / 1.265 GB, free: 55.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/1.314, allocations: 347 kB / 1.265 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/1.314, allocations: 408.7 kB / 1.265 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/1.315, allocations: 0.6475 MB / 1.266 GB, free: 55.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/1.316, allocations: 495.6 kB / 1.267 GB, free: 55.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.316, allocations: 1.469 kB / 1.267 GB, free: 55.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002763/1.319, allocations: 1.342 MB / 1.268 GB, free: 55.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.319, allocations: 191.4 kB / 1.268 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.319, allocations: 3.484 kB / 1.268 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/1.319, allocations: 10.8 kB / 1.268 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.32, allocations: 287.2 kB / 1.268 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.32, allocations: 9.594 kB / 1.268 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.322, allocations: 143.2 kB / 1.269 GB, free: 54.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.322, allocations: 60.36 kB / 1.269 GB, free: 54.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.322, allocations: 6.781 kB / 1.269 GB, free: 54.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/1.324, allocations: 1.115 MB / 1.27 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.324, allocations: 3.562 kB / 1.27 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.324, allocations: 16.17 kB / 1.27 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.325, allocations: 271.9 kB / 1.27 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/1.325, allocations: 9.844 kB / 1.27 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.327, allocations: 143.8 kB / 1.27 GB, free: 54.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.327, allocations: 56.08 kB / 1.27 GB, free: 54.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008958/1.328, allocations: 457.8 kB / 1.271 GB, free: 54.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/1.328, allocations: 202.1 kB / 1.271 GB, free: 54.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.331, allocations: 1.076 MB / 1.272 GB, free: 54.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/1.331, allocations: 14.03 kB / 1.272 GB, free: 54.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.331, allocations: 0.625 kB / 1.272 GB, free: 54.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.331, allocations: 4.203 kB / 1.272 GB, free: 54.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/1.335, allocations: 2.403 MB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.335, allocations: 5.75 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/1.336, allocations: 139.1 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/1.336, allocations: 4.156 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/1.336, allocations: 22.62 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.336, allocations: 8.734 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.336, allocations: 5.5 kB / 1.274 GB, free: 53.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/1.338, allocations: 1.058 MB / 1.275 GB, free: 53.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/1.339, allocations: 376 kB / 1.276 GB, free: 53.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/1.339, allocations: 15.44 kB / 1.276 GB, free: 53.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/1.34, allocations: 99.98 kB / 1.276 GB, free: 53.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.34, allocations: 56.81 kB / 1.276 GB, free: 53.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/1.34, allocations: 24.59 kB / 1.276 GB, free: 53.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002089/1.342, allocations: 1.234 MB / 1.277 GB, free: 53.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.342, allocations: 0 / 1.277 GB, free: 53.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002765/1.345, allocations: 0.885 MB / 1.278 GB, free: 53.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007361/1.346, allocations: 350.6 kB / 1.278 GB, free: 53.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00297/1.349, allocations: 1.552 MB / 1.28 GB, free: 53.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.349, allocations: 0 / 1.28 GB, free: 53.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/1.349, allocations: 401.8 kB / 1.28 GB, free: 53.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.355, allocations: 1.132 MB / 1.281 GB, free: 52.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/1.362, allocations: 3.517 MB / 1.285 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.363, allocations: 1.404 MB / 1.286 GB, free: 50.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002568/1.366, allocations: 414.4 kB / 1.287 GB, free: 50.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/1.367, allocations: 160.8 kB / 1.287 GB, free: 50.31 MB / 0.9981 GB Notification: Performance of SimCode: time 1.613e-06/1.367, allocations: 0 / 1.287 GB, free: 50.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.06164/1.428, allocations: 35.89 MB / 1.322 GB, free: 40.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches