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.001686/0.001686, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001939/0.001939, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.478/1.478, 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 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.89 kB / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7441, allocations: 140.4 MB / 1.089 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1599/0.904, allocations: 154.4 MB / 1.239 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04148/0.9456, allocations: 30.41 MB / 1.269 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005558/0.9511, allocations: 139.1 kB / 1.269 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.9545, allocations: 1.051 MB / 1.27 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009118/0.9637, allocations: 3.32 MB / 1.273 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.9697, allocations: 2.516 MB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007327/0.9771, allocations: 5.416 MB / 1.281 GB, free: 8.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.9804, allocations: 2.244 MB / 1.283 GB, free: 6.215 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005886/0.9863, allocations: 2.759 MB / 1.286 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.9899, allocations: 1.961 MB / 1.288 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007516/0.9907, allocations: 212 kB / 1.288 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.9937, allocations: 1.084 MB / 1.289 GB, free: 188 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007669/0.9945, allocations: 0.5642 MB / 1.29 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.9966, allocations: 1.263 MB / 1.291 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004834/1.001, allocations: 3.327 MB / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.002, allocations: 0 / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/1.002, allocations: 0 / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.187e-05/1.002, allocations: 4 kB / 1.294 GB, free: 11.01 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.005924/1.008, allocations: 2.779 MB / 1.297 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.008, allocations: 12.03 kB / 1.297 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/1.008, allocations: 260.8 kB / 1.297 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/1.011, allocations: 1.531 MB / 1.299 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/1.011, allocations: 102.3 kB / 1.299 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/1.011, allocations: 140 kB / 1.299 GB, free: 6.051 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/1.013, allocations: 1.159 MB / 1.3 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.013, allocations: 3.938 kB / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.013, allocations: 48 kB / 1.3 GB, free: 4.812 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.013, allocations: 28 kB / 1.3 GB, free: 4.785 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/1.015, allocations: 1.016 MB / 1.301 GB, free: 3.762 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.009856/1.025, allocations: 6.316 MB / 1.307 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/1.026, allocations: 0.5752 MB / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/1.026, allocations: 382.4 kB / 1.308 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/1.027, allocations: 0.5031 MB / 1.309 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.027, allocations: 39.12 kB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/1.028, allocations: 234.8 kB / 1.309 GB, free: 11.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.787e-06/1.028, allocations: 0 / 1.309 GB, free: 11.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002168/1.03, allocations: 1.172 MB / 1.31 GB, free: 9.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.03, allocations: 59.97 kB / 1.31 GB, free: 9.875 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/1.033, allocations: 1.908 MB / 1.312 GB, free: 7.941 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.033, allocations: 45.7 kB / 1.312 GB, free: 7.891 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000709/1.034, allocations: 0.9146 MB / 1.313 GB, free: 6.965 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.034, allocations: 209 kB / 1.313 GB, free: 6.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004205/1.034, allocations: 302.5 kB / 1.314 GB, free: 6.457 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.034, allocations: 345.9 kB / 1.314 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/1.035, allocations: 461.9 kB / 1.314 GB, free: 5.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.036, allocations: 0.6918 MB / 1.315 GB, free: 4.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.038, allocations: 0.9774 MB / 1.316 GB, free: 3.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.038, allocations: 0 / 1.316 GB, free: 3.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002486/1.04, allocations: 1.428 MB / 1.317 GB, free: 2.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.04, allocations: 8 kB / 1.317 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/1.04, allocations: 0 / 1.317 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.04, allocations: 12 kB / 1.317 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.041, allocations: 283.5 kB / 1.318 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.042, allocations: 19.81 kB / 1.318 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.043, allocations: 87.86 kB / 1.318 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.043, allocations: 67.94 kB / 1.318 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/1.044, allocations: 0.7134 MB / 1.319 GB, free: 1.242 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008916/1.045, allocations: 0.6722 MB / 1.319 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001407/1.047, allocations: 0.9423 MB / 1.32 GB, free: 15.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/1.047, allocations: 0 / 1.32 GB, free: 15.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002236/1.049, allocations: 1.373 MB / 1.321 GB, free: 14.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.049, allocations: 8.375 kB / 1.321 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.049, allocations: 8 kB / 1.321 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/1.049, allocations: 8 kB / 1.321 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.05, allocations: 279.5 kB / 1.322 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.05, allocations: 11.94 kB / 1.322 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.051, allocations: 99.84 kB / 1.322 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.052, allocations: 59.95 kB / 1.322 GB, free: 13.66 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.0002875/1.052, allocations: 236 kB / 1.322 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.052, allocations: 205.4 kB / 1.322 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.054, allocations: 1.091 MB / 1.323 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/1.054, allocations: 8 kB / 1.323 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.054, allocations: 3.938 kB / 1.323 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.054, allocations: 3.984 kB / 1.323 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/1.058, allocations: 2.445 MB / 1.326 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.058, allocations: 8 kB / 1.326 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/1.058, allocations: 140 kB / 1.326 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.058, allocations: 4 kB / 1.326 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/1.058, allocations: 19.94 kB / 1.326 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.058, allocations: 4 kB / 1.326 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.058, allocations: 3.938 kB / 1.326 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/1.06, allocations: 1.07 MB / 1.327 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/1.06, allocations: 366.2 kB / 1.327 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.061, allocations: 12 kB / 1.327 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/1.061, allocations: 39.95 kB / 1.327 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.062, allocations: 52.53 kB / 1.327 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/1.062, allocations: 27.98 kB / 1.327 GB, free: 7.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001604/1.063, allocations: 1.248 MB / 1.329 GB, free: 6.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.7e-07/1.063, allocations: 0 / 1.329 GB, free: 6.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002072/1.065, allocations: 0.916 MB / 1.33 GB, free: 5.609 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.000684/1.066, allocations: 335.4 kB / 1.33 GB, free: 5.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002818/1.069, allocations: 1.656 MB / 1.332 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.069, allocations: 0 / 1.332 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/1.07, allocations: 421 kB / 1.332 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/1.074, allocations: 1.08 MB / 1.333 GB, free: 2.164 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/1.078, allocations: 3.038 MB / 1.336 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/1.079, allocations: 1.405 MB / 1.337 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.08, allocations: 171.4 kB / 1.337 GB, free: 13.46 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/1.08, allocations: 0 / 1.337 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Templates: time 0.04604/1.126, allocations: 31.12 MB / 1.368 GB, free: 14.7 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/jenkins1/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