Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001243/0.001243, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.001239/0.001239, allocations: 189.6 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.41 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.638/0.9767, allocations: 153 MB / 1.214 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0468/1.024, allocations: 30.21 MB / 1.243 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007489/1.031, allocations: 127.2 kB / 1.243 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/1.035, allocations: 0.8584 MB / 1.244 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009742/1.045, allocations: 2.94 MB / 1.247 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006574/1.051, allocations: 2.298 MB / 1.249 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008481/1.06, allocations: 5.396 MB / 1.254 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/1.063, allocations: 2.195 MB / 1.257 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/1.07, allocations: 2.708 MB / 1.259 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.074, allocations: 2.023 MB / 1.261 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005687/1.074, allocations: 216 kB / 1.261 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/1.077, allocations: 1.092 MB / 1.262 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/1.077, allocations: 0.5642 MB / 1.263 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/1.079, allocations: 1.267 MB / 1.264 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/1.082, allocations: 2.526 MB / 1.267 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.082, allocations: 0 / 1.267 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/1.082, allocations: 0 / 1.267 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.958e-05/1.082, allocations: 0 / 1.267 GB, free: 10.92 MB / 0.9825 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.00535/1.088, allocations: 2.796 MB / 1.269 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.088, allocations: 12.03 kB / 1.269 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/1.088, allocations: 264.8 kB / 1.27 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/1.091, allocations: 1.453 MB / 1.271 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/1.091, allocations: 102.3 kB / 1.271 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.091, allocations: 140 kB / 1.271 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/1.093, allocations: 1.164 MB / 1.272 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.093, allocations: 0 / 1.272 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.093, allocations: 47.94 kB / 1.272 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.093, allocations: 28 kB / 1.273 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/1.095, allocations: 1.016 MB / 1.274 GB, free: 3.73 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.01097/1.106, allocations: 6.313 MB / 1.28 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/1.107, allocations: 0.5747 MB / 1.28 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/1.108, allocations: 380.4 kB / 1.281 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/1.108, allocations: 0.507 MB / 1.281 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.109, allocations: 39.12 kB / 1.281 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001789/1.11, allocations: 302.8 kB / 1.281 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 2.875e-06/1.11, allocations: 0 / 1.281 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002272/1.113, allocations: 1.164 MB / 1.283 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/1.113, allocations: 55.97 kB / 1.283 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.115, allocations: 1.908 MB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.115, allocations: 49.7 kB / 1.285 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/1.116, allocations: 0.9185 MB / 1.285 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.116, allocations: 201.1 kB / 1.286 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/1.117, allocations: 298.5 kB / 1.286 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.117, allocations: 349.9 kB / 1.286 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/1.118, allocations: 449.9 kB / 1.287 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.119, allocations: 0.6879 MB / 1.287 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.121, allocations: 0.9696 MB / 1.288 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.121, allocations: 0 / 1.288 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002628/1.123, allocations: 1.416 MB / 1.29 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.123, allocations: 4 kB / 1.29 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.123, allocations: 7.984 kB / 1.29 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.123, allocations: 8 kB / 1.29 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.124, allocations: 279.5 kB / 1.29 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/1.125, allocations: 8 kB / 1.29 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.126, allocations: 135.7 kB / 1.29 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.126, allocations: 63.95 kB / 1.29 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/1.128, allocations: 0.7134 MB / 1.291 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009809/1.129, allocations: 0.6545 MB / 1.291 GB, free: 448 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001485/1.13, allocations: 0.9266 MB / 1.292 GB, free: 15.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/1.13, allocations: 4 kB / 1.292 GB, free: 15.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002439/1.133, allocations: 1.35 MB / 1.294 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.133, allocations: 7.938 kB / 1.294 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.133, allocations: 7.984 kB / 1.294 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.133, allocations: 8 kB / 1.294 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.134, allocations: 267.6 kB / 1.294 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.134, allocations: 11.94 kB / 1.294 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.136, allocations: 155.9 kB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.136, allocations: 59.89 kB / 1.294 GB, free: 13.6 MB / 1.014 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.0003309/1.136, allocations: 239.9 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/1.136, allocations: 205.4 kB / 1.295 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.139, allocations: 1.092 MB / 1.296 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.139, allocations: 11.98 kB / 1.296 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.139, allocations: 0 / 1.296 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.139, allocations: 11.86 kB / 1.296 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/1.143, allocations: 2.437 MB / 1.298 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.143, allocations: 4 kB / 1.298 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/1.143, allocations: 135.8 kB / 1.298 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.143, allocations: 4 kB / 1.298 GB, free: 9.371 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/1.143, allocations: 16 kB / 1.298 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.143, allocations: 11.98 kB / 1.298 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/1.143, allocations: 3.938 kB / 1.298 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.145, allocations: 1.07 MB / 1.299 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/1.146, allocations: 362.3 kB / 1.3 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/1.146, allocations: 16 kB / 1.3 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/1.147, allocations: 99.66 kB / 1.3 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.147, allocations: 52.53 kB / 1.3 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/1.147, allocations: 23.98 kB / 1.3 GB, free: 7.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001749/1.149, allocations: 1.252 MB / 1.301 GB, free: 6.406 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.149, allocations: 0 / 1.301 GB, free: 6.406 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002094/1.151, allocations: 0.8888 MB / 1.302 GB, free: 5.516 MB / 1.014 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.0007157/1.151, allocations: 354.1 kB / 1.302 GB, free: 5.172 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003186/1.155, allocations: 1.664 MB / 1.304 GB, free: 3.512 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.155, allocations: 0 / 1.304 GB, free: 3.512 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/1.155, allocations: 416.9 kB / 1.304 GB, free: 3.102 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.16, allocations: 1.085 MB / 1.305 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/1.165, allocations: 3.758 MB / 1.309 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.166, allocations: 1.401 MB / 1.31 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/1.167, allocations: 167.4 kB / 1.311 GB, free: 12.64 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/1.167, allocations: 0 / 1.311 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Templates: time 0.05035/1.217, allocations: 30.83 MB / 1.341 GB, free: 14.14 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches