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.001349/0.001349, allocations: 106.9 kB / 17.08 MB, free: 5.984 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.001349/0.00135, allocations: 191.7 kB / 20.03 MB, free: 3.055 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.691/2.691, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 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.001896/0.001896, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2948, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7709/1.066, allocations: 154.4 MB / 1.327 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04285/1.109, allocations: 30.39 MB / 1.356 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005734/1.114, allocations: 145.5 kB / 1.356 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/1.118, allocations: 1.036 MB / 1.357 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009608/1.127, allocations: 3.165 MB / 1.361 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006667/1.134, allocations: 2.502 MB / 1.363 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008904/1.143, allocations: 5.395 MB / 1.368 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0039/1.147, allocations: 2.236 MB / 1.37 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007198/1.154, allocations: 2.699 MB / 1.373 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/1.158, allocations: 1.959 MB / 1.375 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006565/1.159, allocations: 214.2 kB / 1.375 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/1.162, allocations: 1.088 MB / 1.376 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006696/1.163, allocations: 0.558 MB / 1.377 GB, free: 6.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/1.165, allocations: 1.271 MB / 1.378 GB, free: 5.902 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005096/1.17, allocations: 3.333 MB / 1.381 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.17, allocations: 0 / 1.381 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/1.17, allocations: 0 / 1.381 GB, free: 3.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.621e-05/1.17, allocations: 0 / 1.381 GB, free: 3.543 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.005321/1.175, allocations: 2.873 MB / 1.384 GB, free: 1.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.175, allocations: 12.45 kB / 1.384 GB, free: 1.426 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/1.176, allocations: 278 kB / 1.384 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/1.178, allocations: 1.54 MB / 1.386 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/1.179, allocations: 106.6 kB / 1.386 GB, free: 40 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.179, allocations: 136 kB / 1.386 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/1.181, allocations: 1.153 MB / 1.387 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/1.181, allocations: 4 kB / 1.387 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.181, allocations: 58.77 kB / 1.387 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/1.181, allocations: 26.94 kB / 1.387 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.183, allocations: 1.014 MB / 1.388 GB, free: 14.73 MB / 1.045 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.01022/1.193, allocations: 6.329 MB / 1.395 GB, free: 9.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/1.194, allocations: 0.5688 MB / 1.395 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/1.195, allocations: 384.7 kB / 1.395 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/1.195, allocations: 0.5067 MB / 1.396 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.195, allocations: 37.31 kB / 1.396 GB, free: 8.316 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001355/1.197, allocations: 238.8 kB / 1.396 GB, free: 8.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.557e-06/1.197, allocations: 1.156 kB / 1.396 GB, free: 8.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002277/1.199, allocations: 1.18 MB / 1.397 GB, free: 7.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.199, allocations: 57.47 kB / 1.397 GB, free: 7.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.201, allocations: 1.902 MB / 1.399 GB, free: 6.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/1.202, allocations: 51.06 kB / 1.399 GB, free: 6.414 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/1.202, allocations: 0.9318 MB / 1.4 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/1.203, allocations: 218.1 kB / 1.4 GB, free: 5.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/1.203, allocations: 298.7 kB / 1.401 GB, free: 4.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.203, allocations: 345.9 kB / 1.401 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008356/1.204, allocations: 449.9 kB / 1.401 GB, free: 4.199 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.205, allocations: 0.6925 MB / 1.402 GB, free: 3.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.207, allocations: 0.9735 MB / 1.403 GB, free: 2.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.207, allocations: 0 / 1.403 GB, free: 2.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00271/1.21, allocations: 1.417 MB / 1.404 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.21, allocations: 8 kB / 1.404 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.21, allocations: 4 kB / 1.404 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.21, allocations: 8 kB / 1.404 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.211, allocations: 280.4 kB / 1.405 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.211, allocations: 8 kB / 1.405 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.213, allocations: 79.86 kB / 1.405 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.213, allocations: 59.94 kB / 1.405 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/1.214, allocations: 0.7095 MB / 1.406 GB, free: 15.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/1.215, allocations: 0.6606 MB / 1.406 GB, free: 15.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001563/1.217, allocations: 0.9188 MB / 1.407 GB, free: 14.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.556e-06/1.217, allocations: 0 / 1.407 GB, free: 14.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002617/1.219, allocations: 1.362 MB / 1.408 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.219, allocations: 11.98 kB / 1.408 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.219, allocations: 0 / 1.408 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.219, allocations: 11.94 kB / 1.408 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.221, allocations: 268 kB / 1.409 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.221, allocations: 15.94 kB / 1.409 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.222, allocations: 87.91 kB / 1.409 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.222, allocations: 71.88 kB / 1.409 GB, free: 12.3 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 (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.0003108/1.223, allocations: 236 kB / 1.409 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/1.223, allocations: 214.5 kB / 1.409 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.225, allocations: 1.095 MB / 1.41 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.225, allocations: 8 kB / 1.41 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.225, allocations: 0 / 1.41 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.225, allocations: 7.922 kB / 1.41 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/1.229, allocations: 2.441 MB / 1.413 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.229, allocations: 4 kB / 1.413 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/1.23, allocations: 139.8 kB / 1.413 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.23, allocations: 4 kB / 1.413 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.23, allocations: 19.98 kB / 1.413 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.23, allocations: 4 kB / 1.413 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.23, allocations: 192 / 1.413 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.232, allocations: 1.091 MB / 1.414 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/1.232, allocations: 363.5 kB / 1.414 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.233, allocations: 19.94 kB / 1.414 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/1.233, allocations: 35.95 kB / 1.414 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.233, allocations: 48.53 kB / 1.414 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/1.233, allocations: 35.98 kB / 1.415 GB, free: 6.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001761/1.235, allocations: 1.248 MB / 1.416 GB, free: 5.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.235, allocations: 3.938 kB / 1.416 GB, free: 5.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002069/1.237, allocations: 0.9007 MB / 1.417 GB, free: 4.246 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.0007184/1.238, allocations: 343.1 kB / 1.417 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002851/1.241, allocations: 1.619 MB / 1.419 GB, free: 2.301 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.241, allocations: 0 / 1.419 GB, free: 2.301 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/1.242, allocations: 415.5 kB / 1.419 GB, free: 1.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.246, allocations: 1.073 MB / 1.42 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/1.251, allocations: 3.101 MB / 1.423 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.252, allocations: 1.405 MB / 1.424 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/1.253, allocations: 163.4 kB / 1.425 GB, free: 12.09 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/1.253, allocations: 0 / 1.425 GB, free: 12.09 MB / 1.076 GB Notification: Performance of Templates: time 0.04672/1.299, allocations: 31.01 MB / 1.455 GB, free: 13.43 MB / 1.107 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: 17.580291377031244]