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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007157/0.007157, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00125/0.001251, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9752/0.9766, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1592/1.136, allocations: 154.4 MB / 1.376 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04225/1.178, allocations: 30.4 MB / 1.406 GB, free: 4.125 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005788/1.184, allocations: 139.2 kB / 1.406 GB, free: 3.988 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003434/1.187, allocations: 1.036 MB / 1.407 GB, free: 2.945 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009645/1.197, allocations: 3.167 MB / 1.41 GB, free: 15.77 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00709/1.204, allocations: 2.514 MB / 1.413 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008431/1.213, allocations: 5.392 MB / 1.418 GB, free: 7.875 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/1.216, allocations: 2.233 MB / 1.42 GB, free: 5.586 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006515/1.223, allocations: 2.692 MB / 1.423 GB, free: 2.883 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/1.226, allocations: 1.965 MB / 1.425 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/1.227, allocations: 220 kB / 1.425 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/1.229, allocations: 1.08 MB / 1.426 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005028/1.23, allocations: 0.5603 MB / 1.427 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/1.231, allocations: 1.267 MB / 1.428 GB, free: 13.78 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004666/1.236, allocations: 3.342 MB / 1.431 GB, free: 10.43 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.236, allocations: 4 kB / 1.431 GB, free: 10.42 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.134e-06/1.236, allocations: 0 / 1.431 GB, free: 10.42 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001045/1.236, allocations: 0 / 1.431 GB, free: 10.42 MB / 1.154 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.008673/1.245, allocations: 2.867 MB / 1.434 GB, free: 7.488 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.245, allocations: 8.031 kB / 1.434 GB, free: 7.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/1.246, allocations: 278.3 kB / 1.434 GB, free: 7.207 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/1.248, allocations: 1.537 MB / 1.436 GB, free: 5.598 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/1.249, allocations: 106.3 kB / 1.436 GB, free: 5.492 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/1.249, allocations: 136 kB / 1.436 GB, free: 5.359 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.251, allocations: 1.156 MB / 1.437 GB, free: 4.176 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.251, allocations: 3.938 kB / 1.437 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.251, allocations: 48 kB / 1.437 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/1.251, allocations: 32 kB / 1.437 GB, free: 4.094 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.253, allocations: 1.009 MB / 1.438 GB, free: 3.078 MB / 1.154 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.01064/1.264, allocations: 6.345 MB / 1.444 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.265, allocations: 0.5669 MB / 1.445 GB, free: 11.69 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/1.265, allocations: 386.3 kB / 1.445 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004371/1.266, allocations: 0.5031 MB / 1.446 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.266, allocations: 43.12 kB / 1.446 GB, free: 10.64 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001304/1.267, allocations: 231.3 kB / 1.446 GB, free: 10.42 MB / 1.17 GB Notification: Performance of pre-optimization done (n=58): time 4.358e-06/1.267, allocations: 0 / 1.446 GB, free: 10.42 MB / 1.17 GB Notification: Performance of matching and sorting (n=58): time 0.002307/1.27, allocations: 1.173 MB / 1.447 GB, free: 9.242 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.27, allocations: 59.97 kB / 1.447 GB, free: 9.172 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/1.272, allocations: 1.908 MB / 1.449 GB, free: 7.238 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.272, allocations: 45.7 kB / 1.449 GB, free: 7.188 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007798/1.273, allocations: 0.9276 MB / 1.45 GB, free: 6.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/1.273, allocations: 218.2 kB / 1.45 GB, free: 6.035 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/1.274, allocations: 294.7 kB / 1.45 GB, free: 5.742 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.274, allocations: 349.9 kB / 1.451 GB, free: 5.395 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/1.275, allocations: 449.8 kB / 1.451 GB, free: 4.953 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.276, allocations: 0.6879 MB / 1.452 GB, free: 4.184 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/1.278, allocations: 0.9657 MB / 1.453 GB, free: 3.176 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.278, allocations: 8 kB / 1.453 GB, free: 3.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002828/1.28, allocations: 1.413 MB / 1.454 GB, free: 1.746 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.28, allocations: 8 kB / 1.454 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.28, allocations: 384 / 1.454 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/1.281, allocations: 12 kB / 1.454 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.282, allocations: 279.5 kB / 1.455 GB, free: 1.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/1.282, allocations: 15.88 kB / 1.455 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.283, allocations: 71.92 kB / 1.455 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.283, allocations: 67.94 kB / 1.455 GB, free: 1.301 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/1.285, allocations: 0.7056 MB / 1.455 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009761/1.286, allocations: 0.6614 MB / 1.456 GB, free: 15.85 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/1.287, allocations: 0.9149 MB / 1.457 GB, free: 14.9 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/1.287, allocations: 0 / 1.457 GB, free: 14.9 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002413/1.29, allocations: 1.37 MB / 1.458 GB, free: 13.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.29, allocations: 8 kB / 1.458 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.29, allocations: 4 kB / 1.458 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.29, allocations: 8 kB / 1.458 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.291, allocations: 275.5 kB / 1.459 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.291, allocations: 11.98 kB / 1.459 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.293, allocations: 88.17 kB / 1.459 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.293, allocations: 67.94 kB / 1.459 GB, free: 13.07 MB / 1.186 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.000319/1.293, allocations: 240 kB / 1.459 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.293, allocations: 214.7 kB / 1.459 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/1.296, allocations: 1.087 MB / 1.46 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.296, allocations: 15.94 kB / 1.46 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.296, allocations: 3.938 kB / 1.46 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.296, allocations: 7.984 kB / 1.46 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/1.3, allocations: 2.437 MB / 1.463 GB, free: 8.977 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.3, allocations: 0 / 1.463 GB, free: 8.977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/1.3, allocations: 139.8 kB / 1.463 GB, free: 8.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.3, allocations: 4 kB / 1.463 GB, free: 8.836 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/1.3, allocations: 19.98 kB / 1.463 GB, free: 8.816 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.3, allocations: 4 kB / 1.463 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.3, allocations: 4 kB / 1.463 GB, free: 8.809 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.302, allocations: 1.083 MB / 1.464 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/1.303, allocations: 367.5 kB / 1.464 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.303, allocations: 20 kB / 1.464 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/1.304, allocations: 39.89 kB / 1.464 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.304, allocations: 44.59 kB / 1.464 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/1.304, allocations: 31.98 kB / 1.464 GB, free: 7.176 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001868/1.306, allocations: 1.256 MB / 1.466 GB, free: 5.906 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.8e-07/1.306, allocations: 4 kB / 1.466 GB, free: 5.902 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002499/1.308, allocations: 0.9007 MB / 1.466 GB, free: 5 MB / 1.186 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.001026/1.309, allocations: 341.3 kB / 1.467 GB, free: 4.668 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003398/1.313, allocations: 1.614 MB / 1.468 GB, free: 3.059 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.313, allocations: 448 / 1.468 GB, free: 3.059 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/1.314, allocations: 419.5 kB / 1.469 GB, free: 2.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004989/1.319, allocations: 1.079 MB / 1.47 GB, free: 1.594 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/1.324, allocations: 3.048 MB / 1.473 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.325, allocations: 1.405 MB / 1.474 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002929/1.328, allocations: 402.4 kB / 1.474 GB, free: 12.65 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/1.329, allocations: 167.4 kB / 1.475 GB, free: 12.49 MB / 1.201 GB Notification: Performance of SimCode: time 1.793e-06/1.329, allocations: 0 / 1.475 GB, free: 12.49 MB / 1.201 GB Notification: Performance of Templates: time 0.0741/1.403, allocations: 38.5 MB / 1.512 GB, free: 6.559 MB / 1.232 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