Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001603/0.001603, allocations: 106 kB / 16.41 MB, free: 6.488 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.001647/0.001647, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8881, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1652/1.053, allocations: 154.4 MB / 1.239 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04314/1.097, allocations: 30.4 MB / 1.269 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005769/1.102, allocations: 139.1 kB / 1.269 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003772/1.106, allocations: 1.036 MB / 1.27 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009607/1.116, allocations: 3.165 MB / 1.273 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006987/1.123, allocations: 2.503 MB / 1.276 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008568/1.131, allocations: 5.407 MB / 1.281 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004212/1.136, allocations: 2.232 MB / 1.283 GB, free: 6.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006567/1.142, allocations: 2.747 MB / 1.286 GB, free: 3.695 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/1.146, allocations: 1.972 MB / 1.288 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009271/1.147, allocations: 212 kB / 1.288 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/1.15, allocations: 1.092 MB / 1.289 GB, free: 424 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009406/1.151, allocations: 0.5603 MB / 1.29 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/1.154, allocations: 1.267 MB / 1.291 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005842/1.16, allocations: 3.323 MB / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.16, allocations: 0 / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/1.16, allocations: 0 / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001071/1.16, allocations: 0 / 1.294 GB, free: 11.25 MB / 1.029 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.006206/1.166, allocations: 2.787 MB / 1.297 GB, free: 8.395 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.166, allocations: 12.03 kB / 1.297 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/1.167, allocations: 260.8 kB / 1.297 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/1.17, allocations: 1.52 MB / 1.299 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/1.17, allocations: 102.3 kB / 1.299 GB, free: 6.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/1.17, allocations: 140 kB / 1.299 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/1.172, allocations: 1.159 MB / 1.3 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.172, allocations: 7.938 kB / 1.3 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.172, allocations: 47.98 kB / 1.3 GB, free: 5.051 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/1.173, allocations: 32 kB / 1.3 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/1.174, allocations: 1.005 MB / 1.301 GB, free: 4.008 MB / 1.029 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.01122/1.186, allocations: 6.328 MB / 1.307 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009661/1.187, allocations: 0.5675 MB / 1.308 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/1.187, allocations: 382.4 kB / 1.308 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/1.188, allocations: 0.507 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.559e-05/1.188, allocations: 43.05 kB / 1.309 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00135/1.189, allocations: 230.8 kB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 7.694e-06/1.189, allocations: 0 / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.00234/1.191, allocations: 1.164 MB / 1.31 GB, free: 10.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.192, allocations: 59.97 kB / 1.31 GB, free: 10.12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/1.194, allocations: 1.908 MB / 1.312 GB, free: 8.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.195, allocations: 45.7 kB / 1.312 GB, free: 8.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/1.196, allocations: 0.9146 MB / 1.313 GB, free: 7.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/1.196, allocations: 209 kB / 1.313 GB, free: 7.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005515/1.196, allocations: 302.5 kB / 1.313 GB, free: 6.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.197, allocations: 349.9 kB / 1.314 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009799/1.197, allocations: 457.9 kB / 1.314 GB, free: 5.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.199, allocations: 0.6927 MB / 1.315 GB, free: 5.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.201, allocations: 0.9813 MB / 1.316 GB, free: 4.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.201, allocations: 4 kB / 1.316 GB, free: 4.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003177/1.204, allocations: 1.424 MB / 1.317 GB, free: 2.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.204, allocations: 12 kB / 1.317 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.204, allocations: 7.938 kB / 1.317 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.204, allocations: 8 kB / 1.317 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.205, allocations: 283.5 kB / 1.317 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.205, allocations: 15.92 kB / 1.317 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.207, allocations: 95.7 kB / 1.318 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.207, allocations: 59.95 kB / 1.318 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/1.208, allocations: 0.7173 MB / 1.318 GB, free: 1.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/1.21, allocations: 0.6761 MB / 1.319 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/1.211, allocations: 0.9266 MB / 1.32 GB, free: 15.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/1.211, allocations: 0 / 1.32 GB, free: 15.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002719/1.214, allocations: 1.381 MB / 1.321 GB, free: 14.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.214, allocations: 10.34 kB / 1.321 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.214, allocations: 4 kB / 1.321 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.214, allocations: 8.375 kB / 1.321 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.215, allocations: 287.5 kB / 1.322 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/1.215, allocations: 8 kB / 1.322 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.217, allocations: 99.84 kB / 1.322 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.217, allocations: 55.95 kB / 1.322 GB, free: 13.91 MB / 1.061 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 (150): * Single equations (assignments): 150 * 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.0003534/1.218, allocations: 239.9 kB / 1.322 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/1.218, allocations: 205.4 kB / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.22, allocations: 1.091 MB / 1.323 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.22, allocations: 8 kB / 1.323 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.22, allocations: 3.938 kB / 1.323 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.22, allocations: 3.984 kB / 1.323 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/1.225, allocations: 2.445 MB / 1.326 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.225, allocations: 0 / 1.326 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/1.226, allocations: 135.8 kB / 1.326 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.226, allocations: 4.188 kB / 1.326 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/1.226, allocations: 27.98 kB / 1.326 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.226, allocations: 4 kB / 1.326 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.226, allocations: 4 kB / 1.326 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/1.227, allocations: 1.07 MB / 1.327 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/1.228, allocations: 362.2 kB / 1.327 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.229, allocations: 16 kB / 1.327 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.23, allocations: 39.95 kB / 1.327 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.23, allocations: 48.59 kB / 1.327 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/1.23, allocations: 31.98 kB / 1.327 GB, free: 8.031 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002121/1.232, allocations: 1.248 MB / 1.328 GB, free: 6.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.232, allocations: 0 / 1.328 GB, free: 6.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002746/1.235, allocations: 0.9122 MB / 1.329 GB, free: 5.855 MB / 1.061 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.0007866/1.236, allocations: 347.2 kB / 1.33 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003097/1.239, allocations: 1.665 MB / 1.331 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.239, allocations: 3.938 kB / 1.331 GB, free: 3.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006548/1.239, allocations: 412.8 kB / 1.332 GB, free: 3.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/1.245, allocations: 1.076 MB / 1.333 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/1.251, allocations: 3.038 MB / 1.336 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.252, allocations: 1.405 MB / 1.337 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.253, allocations: 163.4 kB / 1.337 GB, free: 13.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.833e-06/1.253, allocations: 0 / 1.337 GB, free: 13.7 MB / 1.076 GB Notification: Performance of Templates: time 0.04709/1.3, allocations: 31.12 MB / 1.368 GB, free: 14.93 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches