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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 443.5 MB / 0.7293 GB, free: 14.69 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 67.89 kB / 1.057 GB, free: 2.129 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3428, allocations: 160.7 MB / 1.214 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8824/1.225, allocations: 155.6 MB / 1.366 GB, free: 9.828 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04777/1.273, allocations: 30.47 MB / 1.396 GB, free: 2.715 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006156/1.279, allocations: 140.8 kB / 1.396 GB, free: 2.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003402/1.283, allocations: 1.065 MB / 1.397 GB, free: 1.734 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009849/1.292, allocations: 3.335 MB / 1.4 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007362/1.3, allocations: 2.51 MB / 1.403 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009978/1.31, allocations: 5.384 MB / 1.408 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/1.313, allocations: 1.898 MB / 1.41 GB, free: 8.723 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006389/1.32, allocations: 2.771 MB / 1.412 GB, free: 7.023 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/1.324, allocations: 2.06 MB / 1.414 GB, free: 5.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/1.324, allocations: 219.2 kB / 1.415 GB, free: 5.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/1.328, allocations: 1.105 MB / 1.416 GB, free: 5.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006966/1.328, allocations: 0.5769 MB / 1.416 GB, free: 4.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/1.33, allocations: 1.278 MB / 1.418 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005417/1.336, allocations: 3.362 MB / 1.421 GB, free: 1.195 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.336, allocations: 4 kB / 1.421 GB, free: 1.191 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/1.336, allocations: 0 / 1.421 GB, free: 1.191 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.886e-05/1.336, allocations: 0 / 1.421 GB, free: 1.191 MB / 1.076 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.005682/1.341, allocations: 2.797 MB / 1.424 GB, free: 14.32 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.342, allocations: 11.98 kB / 1.424 GB, free: 14.31 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/1.342, allocations: 278.3 kB / 1.424 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/1.345, allocations: 1.537 MB / 1.425 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/1.345, allocations: 102.3 kB / 1.425 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/1.345, allocations: 147.9 kB / 1.426 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.347, allocations: 1.175 MB / 1.427 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.347, allocations: 0 / 1.427 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.347, allocations: 59.92 kB / 1.427 GB, free: 10.92 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/1.347, allocations: 28 kB / 1.427 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.349, allocations: 1.04 MB / 1.428 GB, free: 9.844 MB / 1.092 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.01027/1.36, allocations: 6.35 MB / 1.434 GB, free: 3.031 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.361, allocations: 0.5368 MB / 1.435 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/1.361, allocations: 358.3 kB / 1.435 GB, free: 2.137 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/1.362, allocations: 0.5109 MB / 1.435 GB, free: 1.512 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.362, allocations: 39.12 kB / 1.435 GB, free: 1.465 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001727/1.364, allocations: 315.3 kB / 1.436 GB, free: 1.156 MB / 1.092 GB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/1.364, allocations: 0 / 1.436 GB, free: 1.156 MB / 1.092 GB Notification: Performance of matching and sorting (n=58): time 0.002355/1.366, allocations: 1.177 MB / 1.437 GB, free: 15.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.366, allocations: 55.97 kB / 1.437 GB, free: 15.91 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/1.369, allocations: 1.904 MB / 1.439 GB, free: 13.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.369, allocations: 49.7 kB / 1.439 GB, free: 13.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008688/1.37, allocations: 0.9275 MB / 1.44 GB, free: 12.99 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.37, allocations: 214.2 kB / 1.44 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/1.37, allocations: 298.7 kB / 1.44 GB, free: 12.48 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.37, allocations: 353.9 kB / 1.441 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/1.371, allocations: 453.8 kB / 1.441 GB, free: 11.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.372, allocations: 0.6858 MB / 1.442 GB, free: 10.92 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.374, allocations: 0.9774 MB / 1.443 GB, free: 9.898 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.374, allocations: 0 / 1.443 GB, free: 9.898 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002798/1.377, allocations: 1.417 MB / 1.444 GB, free: 8.473 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.377, allocations: 4 kB / 1.444 GB, free: 8.469 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.377, allocations: 4 kB / 1.444 GB, free: 8.465 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.377, allocations: 11.56 kB / 1.444 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.378, allocations: 279.9 kB / 1.444 GB, free: 8.184 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/1.378, allocations: 15.98 kB / 1.444 GB, free: 8.168 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.38, allocations: 71.88 kB / 1.444 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.38, allocations: 63.94 kB / 1.444 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001379/1.381, allocations: 0.7094 MB / 1.445 GB, free: 7.32 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/1.382, allocations: 0.6645 MB / 1.446 GB, free: 6.582 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001622/1.384, allocations: 0.9188 MB / 1.447 GB, free: 5.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/1.384, allocations: 0 / 1.447 GB, free: 5.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002669/1.387, allocations: 1.359 MB / 1.448 GB, free: 4.254 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.387, allocations: 12 kB / 1.448 GB, free: 4.242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.387, allocations: 0 / 1.448 GB, free: 4.242 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.387, allocations: 8 kB / 1.448 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.388, allocations: 275.6 kB / 1.448 GB, free: 3.965 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.388, allocations: 11.98 kB / 1.448 GB, free: 3.953 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.39, allocations: 91.91 kB / 1.448 GB, free: 3.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.39, allocations: 59.89 kB / 1.448 GB, free: 3.805 MB / 1.107 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.0003366/1.39, allocations: 232 kB / 1.449 GB, free: 3.57 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/1.39, allocations: 210.6 kB / 1.449 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/1.393, allocations: 1.095 MB / 1.45 GB, free: 2.258 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.393, allocations: 11.98 kB / 1.45 GB, free: 2.246 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.393, allocations: 0 / 1.45 GB, free: 2.246 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.393, allocations: 7.922 kB / 1.45 GB, free: 2.238 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.397, allocations: 2.445 MB / 1.452 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.397, allocations: 4 kB / 1.452 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/1.397, allocations: 139.9 kB / 1.452 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/1.397, allocations: 4 kB / 1.452 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/1.397, allocations: 19.98 kB / 1.453 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.397, allocations: 7.938 kB / 1.453 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.397, allocations: 0 / 1.453 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.399, allocations: 1.087 MB / 1.454 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/1.4, allocations: 364.4 kB / 1.454 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/1.4, allocations: 16 kB / 1.454 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/1.401, allocations: 39.95 kB / 1.454 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.401, allocations: 52.58 kB / 1.454 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/1.401, allocations: 24.03 kB / 1.454 GB, free: 13.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001848/1.403, allocations: 1.256 MB / 1.455 GB, free: 12.64 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.403, allocations: 0 / 1.455 GB, free: 12.64 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002241/1.405, allocations: 0.8968 MB / 1.456 GB, free: 11.75 MB / 1.123 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.0007784/1.406, allocations: 346.6 kB / 1.456 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003054/1.409, allocations: 1.5 MB / 1.458 GB, free: 9.918 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.409, allocations: 0 / 1.458 GB, free: 9.918 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/1.41, allocations: 373 kB / 1.458 GB, free: 9.555 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004743/1.414, allocations: 1.094 MB / 1.459 GB, free: 8.488 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/1.42, allocations: 3.104 MB / 1.462 GB, free: 5.324 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.421, allocations: 1.409 MB / 1.464 GB, free: 3.883 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/1.421, allocations: 167.4 kB / 1.464 GB, free: 3.719 MB / 1.123 GB Notification: Performance of SimCode: time 1.152e-06/1.421, allocations: 0 / 1.464 GB, free: 3.719 MB / 1.123 GB Notification: Performance of Templates: time 0.05294/1.474, allocations: 31.17 MB / 1.494 GB, free: 4.906 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.675037741893902]