Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01009/0.01009, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002015/0.002015, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.63/1.63, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.94 kB / 0.9508 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3617, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1463/0.508, allocations: 154.4 MB / 1.239 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8312/1.339, allocations: 30.38 MB / 1.268 GB, free: 41.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005337/1.345, allocations: 142.3 kB / 1.269 GB, free: 41.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/1.348, allocations: 1.051 MB / 1.27 GB, free: 41.08 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.358, allocations: 3.331 MB / 1.273 GB, free: 41.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/1.366, allocations: 2.513 MB / 1.275 GB, free: 40.97 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01192/1.378, allocations: 5.416 MB / 1.281 GB, free: 40.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004329/1.383, allocations: 2.238 MB / 1.283 GB, free: 40.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006632/1.389, allocations: 2.759 MB / 1.285 GB, free: 40.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/1.393, allocations: 1.959 MB / 1.287 GB, free: 40.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004927/1.394, allocations: 213.4 kB / 1.288 GB, free: 40.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/1.397, allocations: 1.098 MB / 1.289 GB, free: 40.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006199/1.397, allocations: 0.5633 MB / 1.289 GB, free: 40.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001743/1.399, allocations: 1.267 MB / 1.29 GB, free: 39.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/1.403, allocations: 3.323 MB / 1.294 GB, free: 39.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.403, allocations: 4 kB / 1.294 GB, free: 39.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/1.403, allocations: 0 / 1.294 GB, free: 39.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.306e-05/1.404, allocations: 1.719 kB / 1.294 GB, free: 39.42 MB / 1.014 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.005007/1.409, allocations: 2.788 MB / 1.296 GB, free: 38.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.409, allocations: 9.531 kB / 1.296 GB, free: 38.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/1.409, allocations: 262.9 kB / 1.297 GB, free: 37.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/1.411, allocations: 1.518 MB / 1.298 GB, free: 37.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/1.411, allocations: 100.6 kB / 1.298 GB, free: 37.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/1.412, allocations: 144.6 kB / 1.298 GB, free: 37.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/1.413, allocations: 1.16 MB / 1.299 GB, free: 37.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.413, allocations: 1.875 kB / 1.299 GB, free: 37.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.414, allocations: 46.22 kB / 1.3 GB, free: 37.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.414, allocations: 28.69 kB / 1.3 GB, free: 37.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.415, allocations: 1.014 MB / 1.301 GB, free: 37.32 MB / 1.014 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.009622/1.425, allocations: 6.32 MB / 1.307 GB, free: 34.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.426, allocations: 0.5738 MB / 1.307 GB, free: 34.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/1.427, allocations: 384.5 kB / 1.308 GB, free: 34.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/1.427, allocations: 0.5061 MB / 1.308 GB, free: 34.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.427, allocations: 36.59 kB / 1.308 GB, free: 34.01 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001899/1.429, allocations: 238.3 kB / 1.308 GB, free: 33.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=58): time 8.476e-06/1.429, allocations: 0 / 1.308 GB, free: 33.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=58): time 0.003188/1.432, allocations: 1.161 MB / 1.31 GB, free: 33.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.432, allocations: 61.81 kB / 1.31 GB, free: 33.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/1.436, allocations: 1.897 MB / 1.311 GB, free: 33.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000285/1.436, allocations: 47.8 kB / 1.311 GB, free: 33.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000928/1.437, allocations: 0.9179 MB / 1.312 GB, free: 33.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.437, allocations: 207.7 kB / 1.313 GB, free: 33.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007179/1.438, allocations: 298.7 kB / 1.313 GB, free: 33.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.438, allocations: 351.1 kB / 1.313 GB, free: 32.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/1.439, allocations: 461.1 kB / 1.314 GB, free: 32.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.44, allocations: 0.6895 MB / 1.314 GB, free: 32.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.442, allocations: 0.9815 MB / 1.315 GB, free: 32.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.442, allocations: 0 / 1.315 GB, free: 32.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003289/1.445, allocations: 1.427 MB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.445, allocations: 14.02 kB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.446, allocations: 2.969 kB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.446, allocations: 8.688 kB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.447, allocations: 288.2 kB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.447, allocations: 8.781 kB / 1.317 GB, free: 32.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.449, allocations: 92.81 kB / 1.317 GB, free: 32.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.449, allocations: 63.34 kB / 1.317 GB, free: 32.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001804/1.451, allocations: 0.7182 MB / 1.318 GB, free: 32.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009946/1.452, allocations: 0.6709 MB / 1.318 GB, free: 31.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/1.454, allocations: 0.9401 MB / 1.319 GB, free: 31.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/1.454, allocations: 3.938 kB / 1.319 GB, free: 31.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002716/1.456, allocations: 1.382 MB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.456, allocations: 11.94 kB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.456, allocations: 2.844 kB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.456, allocations: 8.438 kB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.457, allocations: 282.3 kB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.458, allocations: 10.22 kB / 1.321 GB, free: 31.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.459, allocations: 93 kB / 1.321 GB, free: 31.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.46, allocations: 60.3 kB / 1.321 GB, free: 31.56 MB / 1.014 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 (150): * Single equations (assignments): 150 * 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.0003817/1.46, allocations: 240.7 kB / 1.321 GB, free: 31.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/1.46, allocations: 202.1 kB / 1.322 GB, free: 31.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/1.462, allocations: 1.092 MB / 1.323 GB, free: 31.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.462, allocations: 8.562 kB / 1.323 GB, free: 31.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.462, allocations: 0 / 1.323 GB, free: 31.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.462, allocations: 9.625 kB / 1.323 GB, free: 31.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/1.466, allocations: 2.445 MB / 1.325 GB, free: 30.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.466, allocations: 3.781 kB / 1.325 GB, free: 30.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/1.467, allocations: 138.3 kB / 1.325 GB, free: 30.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.467, allocations: 4.844 kB / 1.325 GB, free: 30.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/1.467, allocations: 18.66 kB / 1.325 GB, free: 30.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.467, allocations: 14.78 kB / 1.325 GB, free: 30.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.467, allocations: 3.938 kB / 1.325 GB, free: 30.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.469, allocations: 1.065 MB / 1.326 GB, free: 30.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/1.469, allocations: 360.5 kB / 1.327 GB, free: 30.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.47, allocations: 17.31 kB / 1.327 GB, free: 30.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/1.47, allocations: 38.41 kB / 1.327 GB, free: 30.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.47, allocations: 55.97 kB / 1.327 GB, free: 30.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/1.471, allocations: 26.33 kB / 1.327 GB, free: 30.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001506/1.472, allocations: 1.254 MB / 1.328 GB, free: 29.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.51e-07/1.472, allocations: 0 / 1.328 GB, free: 29.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002167/1.474, allocations: 0.9 MB / 1.329 GB, free: 29.41 MB / 1.014 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.0007036/1.475, allocations: 355.8 kB / 1.329 GB, free: 29.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002536/1.477, allocations: 1.654 MB / 1.331 GB, free: 28.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.478, allocations: 1.5 kB / 1.331 GB, free: 28.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/1.478, allocations: 414.4 kB / 1.331 GB, free: 28.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.482, allocations: 1.074 MB / 1.332 GB, free: 28.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/1.486, allocations: 2.995 MB / 1.335 GB, free: 26.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/1.487, allocations: 1.407 MB / 1.337 GB, free: 25.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001657/1.489, allocations: 418.8 kB / 1.337 GB, free: 25.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.489, allocations: 163.7 kB / 1.337 GB, free: 25.85 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.489, allocations: 0 / 1.337 GB, free: 25.85 MB / 1.014 GB Notification: Performance of Templates: time 0.06025/1.549, allocations: 38.71 MB / 1.375 GB, free: 12.97 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches