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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001593/0.001593, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001609/0.001609, allocations: 196.3 kB / 17.3 MB, free: 5.48 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.624/2.624, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 69.78 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7893/1.147, allocations: 154.4 MB / 1.177 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.04555/1.193, allocations: 30.4 MB / 1.207 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008964/1.202, allocations: 140.3 kB / 1.207 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/1.206, allocations: 1.041 MB / 1.208 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.217, allocations: 3.158 MB / 1.211 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007682/1.225, allocations: 2.512 MB / 1.214 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00893/1.234, allocations: 5.389 MB / 1.219 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/1.237, allocations: 2.235 MB / 1.221 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/1.243, allocations: 2.688 MB / 1.224 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/1.247, allocations: 1.968 MB / 1.226 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005813/1.248, allocations: 215.9 kB / 1.226 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/1.251, allocations: 1.088 MB / 1.227 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007987/1.252, allocations: 0.5642 MB / 1.228 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.254, allocations: 1.263 MB / 1.229 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/1.259, allocations: 3.325 MB / 1.232 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.26, allocations: 0 / 1.232 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.32e-07/1.26, allocations: 0 / 1.232 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.109e-05/1.26, allocations: 0 / 1.232 GB, free: 15.59 MB / 0.9356 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.005882/1.265, allocations: 2.788 MB / 1.235 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.266, allocations: 16.03 kB / 1.235 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/1.266, allocations: 260.8 kB / 1.235 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/1.269, allocations: 1.523 MB / 1.237 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/1.269, allocations: 102.3 kB / 1.237 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/1.269, allocations: 140 kB / 1.237 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/1.271, allocations: 1.156 MB / 1.238 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.271, allocations: 0 / 1.238 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.271, allocations: 47.94 kB / 1.238 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.271, allocations: 28 kB / 1.238 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.273, allocations: 1.02 MB / 1.239 GB, free: 8.348 MB / 0.9356 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.01134/1.285, allocations: 6.316 MB / 1.245 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.286, allocations: 0.572 MB / 1.246 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/1.286, allocations: 378.4 kB / 1.246 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/1.287, allocations: 0.507 MB / 1.247 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.287, allocations: 39.12 kB / 1.247 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001671/1.289, allocations: 230.9 kB / 1.247 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=58): time 3.697e-06/1.289, allocations: 0 / 1.247 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58): time 0.002494/1.291, allocations: 1.172 MB / 1.248 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.291, allocations: 55.97 kB / 1.248 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/1.294, allocations: 1.908 MB / 1.25 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.294, allocations: 45.7 kB / 1.25 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008234/1.295, allocations: 0.9107 MB / 1.251 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.295, allocations: 205.1 kB / 1.251 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/1.295, allocations: 298.5 kB / 1.251 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.295, allocations: 353.9 kB / 1.252 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008313/1.296, allocations: 449.9 kB / 1.252 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.297, allocations: 0.684 MB / 1.253 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.299, allocations: 0.9735 MB / 1.254 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.299, allocations: 0 / 1.254 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002716/1.302, allocations: 1.404 MB / 1.255 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.302, allocations: 11.94 kB / 1.255 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.302, allocations: 4 kB / 1.255 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/1.302, allocations: 8 kB / 1.255 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.303, allocations: 275.5 kB / 1.255 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/1.303, allocations: 16.31 kB / 1.255 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.305, allocations: 83.86 kB / 1.256 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.305, allocations: 63.94 kB / 1.256 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/1.306, allocations: 0.7056 MB / 1.256 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009765/1.307, allocations: 0.6683 MB / 1.257 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/1.309, allocations: 0.9149 MB / 1.258 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/1.309, allocations: 4 kB / 1.258 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002533/1.311, allocations: 1.342 MB / 1.259 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.311, allocations: 8 kB / 1.259 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.311, allocations: 4 kB / 1.259 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.311, allocations: 8 kB / 1.259 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.312, allocations: 275.6 kB / 1.259 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/1.312, allocations: 8 kB / 1.259 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.314, allocations: 91.91 kB / 1.259 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.314, allocations: 67.81 kB / 1.26 GB, free: 2.402 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.0003104/1.314, allocations: 232.8 kB / 1.26 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.315, allocations: 201.4 kB / 1.26 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.317, allocations: 1.098 MB / 1.261 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.317, allocations: 11.94 kB / 1.261 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.317, allocations: 0 / 1.261 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.317, allocations: 7.922 kB / 1.261 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/1.321, allocations: 2.445 MB / 1.263 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.321, allocations: 4 kB / 1.263 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/1.322, allocations: 140.1 kB / 1.264 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.322, allocations: 7.984 kB / 1.264 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/1.322, allocations: 23.98 kB / 1.264 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/1.322, allocations: 4 kB / 1.264 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.322, allocations: 0 / 1.264 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.324, allocations: 1.07 MB / 1.265 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/1.324, allocations: 362.2 kB / 1.265 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/1.325, allocations: 12 kB / 1.265 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/1.325, allocations: 39.95 kB / 1.265 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.325, allocations: 48.59 kB / 1.265 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/1.326, allocations: 23.98 kB / 1.265 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001809/1.327, allocations: 1.26 MB / 1.266 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.327, allocations: 0 / 1.266 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002172/1.33, allocations: 0.8849 MB / 1.267 GB, free: 10.38 MB / 0.9669 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.0007443/1.33, allocations: 360.3 kB / 1.268 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002928/1.333, allocations: 1.625 MB / 1.269 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.333, allocations: 0 / 1.269 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/1.334, allocations: 409 kB / 1.27 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/1.338, allocations: 1.081 MB / 1.271 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/1.343, allocations: 2.985 MB / 1.274 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.344, allocations: 1.405 MB / 1.275 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001574/1.345, allocations: 401.5 kB / 1.275 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/1.346, allocations: 167.4 kB / 1.275 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.346, allocations: 0 / 1.275 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.06297/1.409, allocations: 38.29 MB / 1.313 GB, free: 12.22 MB / 1.014 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 -s gbode -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/jenkins1/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