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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001575/0.001575, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7111 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003142/0.003142, allocations: 68.89 kB / 0.8699 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3639, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6762/1.04, allocations: 154.4 MB / 1.169 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.05182/1.092, allocations: 30.4 MB / 1.198 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005395/1.097, allocations: 142.6 kB / 1.199 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/1.101, allocations: 1.035 MB / 1.2 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009113/1.11, allocations: 3.172 MB / 1.203 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007327/1.117, allocations: 2.469 MB / 1.205 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007228/1.125, allocations: 5.376 MB / 1.21 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/1.128, allocations: 2.233 MB / 1.213 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/1.134, allocations: 2.681 MB / 1.215 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/1.137, allocations: 1.965 MB / 1.217 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005085/1.138, allocations: 216 kB / 1.217 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/1.141, allocations: 1.088 MB / 1.218 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/1.141, allocations: 0.5525 MB / 1.219 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001799/1.143, allocations: 1.279 MB / 1.22 GB, free: 120 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/1.147, allocations: 3.275 MB / 1.223 GB, free: 12.83 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.147, allocations: 0 / 1.223 GB, free: 12.83 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/1.147, allocations: 0 / 1.223 GB, free: 12.83 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.493e-05/1.148, allocations: 0 / 1.223 GB, free: 12.83 MB / 0.92 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.005017/1.153, allocations: 2.792 MB / 1.226 GB, free: 9.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.153, allocations: 16.88 kB / 1.226 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/1.153, allocations: 264.8 kB / 1.226 GB, free: 9.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.155, allocations: 1.453 MB / 1.228 GB, free: 8.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/1.155, allocations: 102.3 kB / 1.228 GB, free: 8.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/1.156, allocations: 140 kB / 1.228 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/1.158, allocations: 1.159 MB / 1.229 GB, free: 6.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.158, allocations: 3.938 kB / 1.229 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.158, allocations: 51.92 kB / 1.229 GB, free: 6.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/1.158, allocations: 28 kB / 1.229 GB, free: 6.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/1.16, allocations: 1.009 MB / 1.23 GB, free: 5.645 MB / 0.92 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.01033/1.17, allocations: 6.363 MB / 1.236 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.171, allocations: 0.5644 MB / 1.237 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/1.172, allocations: 384.8 kB / 1.237 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/1.172, allocations: 0.5069 MB / 1.238 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.172, allocations: 43.12 kB / 1.238 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/1.174, allocations: 226.9 kB / 1.238 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 5.931e-06/1.174, allocations: 0 / 1.238 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.00224/1.176, allocations: 1.172 MB / 1.239 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.176, allocations: 55.97 kB / 1.239 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.178, allocations: 1.9 MB / 1.241 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/1.178, allocations: 49.7 kB / 1.241 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/1.179, allocations: 0.9184 MB / 1.242 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.18, allocations: 205.1 kB / 1.242 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/1.18, allocations: 294.5 kB / 1.243 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.18, allocations: 349.9 kB / 1.243 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/1.181, allocations: 449.9 kB / 1.243 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.182, allocations: 0.6879 MB / 1.244 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.184, allocations: 0.9696 MB / 1.245 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.184, allocations: 0 / 1.245 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002599/1.186, allocations: 1.412 MB / 1.246 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.187, allocations: 8 kB / 1.246 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.187, allocations: 4 kB / 1.246 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.187, allocations: 8.375 kB / 1.246 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.188, allocations: 279.5 kB / 1.247 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.188, allocations: 8 kB / 1.247 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.189, allocations: 79.86 kB / 1.247 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.189, allocations: 71.88 kB / 1.247 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001298/1.191, allocations: 0.7081 MB / 1.247 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/1.192, allocations: 0.6606 MB / 1.248 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/1.193, allocations: 0.9149 MB / 1.249 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/1.193, allocations: 4 kB / 1.249 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002491/1.196, allocations: 1.35 MB / 1.25 GB, free: 116 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.196, allocations: 4 kB / 1.25 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.196, allocations: 4 kB / 1.25 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.196, allocations: 12 kB / 1.25 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.197, allocations: 271.6 kB / 1.251 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.197, allocations: 11.94 kB / 1.251 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.199, allocations: 92.12 kB / 1.251 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.199, allocations: 55.89 kB / 1.251 GB, free: 15.67 MB / 0.9512 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.000307/1.199, allocations: 247.9 kB / 1.251 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/1.199, allocations: 205.4 kB / 1.251 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.202, allocations: 1.089 MB / 1.252 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.202, allocations: 8 kB / 1.252 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.202, allocations: 0 / 1.252 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.202, allocations: 7.922 kB / 1.252 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/1.206, allocations: 2.453 MB / 1.255 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.206, allocations: 4 kB / 1.255 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/1.206, allocations: 131.8 kB / 1.255 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.206, allocations: 12.19 kB / 1.255 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/1.206, allocations: 15.98 kB / 1.255 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.206, allocations: 8 kB / 1.255 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.206, allocations: 3.938 kB / 1.255 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.208, allocations: 1.07 MB / 1.256 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/1.209, allocations: 358.2 kB / 1.256 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.209, allocations: 16 kB / 1.256 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/1.21, allocations: 39.95 kB / 1.256 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.21, allocations: 52.53 kB / 1.256 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/1.21, allocations: 23.98 kB / 1.256 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001814/1.212, allocations: 1.256 MB / 1.258 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.212, allocations: 3.938 kB / 1.258 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002065/1.214, allocations: 0.8849 MB / 1.258 GB, free: 7.633 MB / 0.9512 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.0007284/1.214, allocations: 356.8 kB / 1.259 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003288/1.218, allocations: 1.668 MB / 1.26 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.218, allocations: 0 / 1.26 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/1.218, allocations: 412.9 kB / 1.261 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.223, allocations: 1.089 MB / 1.262 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/1.228, allocations: 3.085 MB / 1.265 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.229, allocations: 1.405 MB / 1.266 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/1.23, allocations: 163.4 kB / 1.266 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/1.23, allocations: 3.938 kB / 1.266 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.04756/1.277, allocations: 30.83 MB / 1.296 GB, free: 0.9141 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches