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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008524/0.008524, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.002474/0.002474, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1827/1.262, allocations: 154.4 MB / 1.239 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05236/1.314, allocations: 30.39 MB / 1.268 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00997/1.324, allocations: 139.1 kB / 1.269 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004561/1.329, allocations: 1.04 MB / 1.27 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/1.341, allocations: 3.163 MB / 1.273 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/1.349, allocations: 2.511 MB / 1.275 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009566/1.359, allocations: 5.399 MB / 1.28 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004319/1.363, allocations: 2.24 MB / 1.283 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/1.37, allocations: 2.696 MB / 1.285 GB, free: 3.742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004633/1.375, allocations: 1.961 MB / 1.287 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/1.376, allocations: 220 kB / 1.287 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/1.38, allocations: 1.088 MB / 1.288 GB, free: 480 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.381, allocations: 0.5564 MB / 1.289 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003004/1.384, allocations: 1.263 MB / 1.29 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007587/1.391, allocations: 3.323 MB / 1.293 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.391, allocations: 0 / 1.293 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/1.391, allocations: 0 / 1.293 GB, free: 11.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001346/1.392, allocations: 0 / 1.293 GB, free: 11.31 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.006716/1.398, allocations: 2.787 MB / 1.296 GB, free: 8.457 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.398, allocations: 12.02 kB / 1.296 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/1.399, allocations: 268.8 kB / 1.296 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/1.402, allocations: 1.516 MB / 1.298 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.402, allocations: 106.3 kB / 1.298 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.402, allocations: 140 kB / 1.298 GB, free: 6.348 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/1.404, allocations: 1.159 MB / 1.299 GB, free: 5.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.404, allocations: 3.938 kB / 1.299 GB, free: 5.156 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.404, allocations: 56 kB / 1.299 GB, free: 5.102 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.404, allocations: 28 kB / 1.299 GB, free: 5.074 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/1.406, allocations: 1.013 MB / 1.3 GB, free: 4.055 MB / 1.029 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.01066/1.417, allocations: 6.324 MB / 1.306 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.418, allocations: 0.5636 MB / 1.307 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/1.419, allocations: 382.4 kB / 1.307 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004658/1.419, allocations: 0.507 MB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.419, allocations: 39.12 kB / 1.308 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001426/1.421, allocations: 234.8 kB / 1.308 GB, free: 11.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.677e-06/1.421, allocations: 0 / 1.308 GB, free: 11.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002195/1.423, allocations: 1.164 MB / 1.309 GB, free: 10.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.423, allocations: 59.97 kB / 1.309 GB, free: 10.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/1.426, allocations: 1.904 MB / 1.311 GB, free: 8.246 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.426, allocations: 45.7 kB / 1.311 GB, free: 8.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009299/1.427, allocations: 0.9224 MB / 1.312 GB, free: 7.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.427, allocations: 205 kB / 1.312 GB, free: 7.059 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005143/1.428, allocations: 302.5 kB / 1.313 GB, free: 6.758 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002067/1.428, allocations: 353.9 kB / 1.313 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/1.429, allocations: 449.9 kB / 1.313 GB, free: 5.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.43, allocations: 0.6996 MB / 1.314 GB, free: 5.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/1.431, allocations: 0.9735 MB / 1.315 GB, free: 4.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.431, allocations: 4 kB / 1.315 GB, free: 4.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003068/1.434, allocations: 1.428 MB / 1.316 GB, free: 2.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.435, allocations: 10.88 kB / 1.316 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.435, allocations: 8 kB / 1.316 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.435, allocations: 8 kB / 1.316 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.436, allocations: 283.5 kB / 1.317 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/1.436, allocations: 19.92 kB / 1.317 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.438, allocations: 87.7 kB / 1.317 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.438, allocations: 63.95 kB / 1.317 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001419/1.439, allocations: 0.7212 MB / 1.318 GB, free: 1.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/1.44, allocations: 0.6683 MB / 1.318 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001528/1.442, allocations: 0.9305 MB / 1.319 GB, free: 15.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.257e-06/1.442, allocations: 0 / 1.319 GB, free: 15.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002594/1.444, allocations: 1.385 MB / 1.32 GB, free: 14.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.444, allocations: 4 kB / 1.32 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.444, allocations: 4 kB / 1.32 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.444, allocations: 8 kB / 1.32 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.446, allocations: 291.9 kB / 1.321 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/1.446, allocations: 8 kB / 1.321 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.447, allocations: 99.83 kB / 1.321 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.447, allocations: 63.94 kB / 1.321 GB, free: 13.95 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 (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.0003584/1.448, allocations: 240 kB / 1.321 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/1.448, allocations: 201.4 kB / 1.321 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/1.45, allocations: 1.08 MB / 1.322 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.45, allocations: 12 kB / 1.322 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.451, allocations: 3.938 kB / 1.322 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.451, allocations: 3.984 kB / 1.322 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/1.455, allocations: 2.445 MB / 1.325 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.455, allocations: 0 / 1.325 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/1.455, allocations: 135.8 kB / 1.325 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.455, allocations: 4 kB / 1.325 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.455, allocations: 19.98 kB / 1.325 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.456, allocations: 8.125 kB / 1.325 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.456, allocations: 8 kB / 1.325 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/1.457, allocations: 1.07 MB / 1.326 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/1.458, allocations: 362.2 kB / 1.326 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.458, allocations: 12 kB / 1.326 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/1.459, allocations: 39.95 kB / 1.326 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.459, allocations: 48.59 kB / 1.326 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/1.459, allocations: 27.98 kB / 1.327 GB, free: 8.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001928/1.461, allocations: 1.256 MB / 1.328 GB, free: 6.824 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.461, allocations: 0 / 1.328 GB, free: 6.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002492/1.463, allocations: 0.9082 MB / 1.329 GB, free: 5.914 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.0007363/1.464, allocations: 340.6 kB / 1.329 GB, free: 5.582 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003/1.467, allocations: 1.653 MB / 1.331 GB, free: 3.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.467, allocations: 3.938 kB / 1.331 GB, free: 3.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000684/1.468, allocations: 419.5 kB / 1.331 GB, free: 3.516 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/1.473, allocations: 1.094 MB / 1.332 GB, free: 2.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/1.478, allocations: 2.982 MB / 1.335 GB, free: 15.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.479, allocations: 1.401 MB / 1.336 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001935/1.481, allocations: 411 kB / 1.337 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.482, allocations: 163.4 kB / 1.337 GB, free: 13.43 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/1.482, allocations: 0 / 1.337 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Templates: time 0.06597/1.548, allocations: 38.48 MB / 1.374 GB, free: 7.551 MB / 1.107 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