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.001563/0.001563, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.001712/0.001712, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 64.14 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9605, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1796/1.14, allocations: 154.4 MB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04477/1.185, allocations: 30.4 MB / 1.269 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009511/1.194, allocations: 143.1 kB / 1.269 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/1.199, allocations: 1.051 MB / 1.27 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.209, allocations: 3.322 MB / 1.274 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007257/1.217, allocations: 2.51 MB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008685/1.225, allocations: 5.419 MB / 1.281 GB, free: 8.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004594/1.23, allocations: 2.236 MB / 1.283 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006694/1.237, allocations: 2.759 MB / 1.286 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/1.24, allocations: 1.965 MB / 1.288 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007649/1.241, allocations: 216 kB / 1.288 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/1.244, allocations: 1.088 MB / 1.289 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007594/1.245, allocations: 0.5605 MB / 1.29 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.247, allocations: 1.263 MB / 1.291 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004632/1.252, allocations: 3.331 MB / 1.294 GB, free: 11.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.252, allocations: 0 / 1.294 GB, free: 11.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/1.252, allocations: 0 / 1.294 GB, free: 11.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001083/1.252, allocations: 0 / 1.294 GB, free: 11.06 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.005962/1.258, allocations: 2.779 MB / 1.297 GB, free: 8.215 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.258, allocations: 8.031 kB / 1.297 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/1.258, allocations: 268.8 kB / 1.297 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/1.261, allocations: 1.516 MB / 1.299 GB, free: 6.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/1.261, allocations: 110.3 kB / 1.299 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.261, allocations: 140 kB / 1.299 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.263, allocations: 1.159 MB / 1.3 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/1.263, allocations: 11.86 kB / 1.3 GB, free: 4.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.264, allocations: 48 kB / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/1.264, allocations: 28 kB / 1.3 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/1.265, allocations: 1.013 MB / 1.301 GB, free: 3.812 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.009971/1.275, allocations: 6.32 MB / 1.307 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/1.276, allocations: 0.5675 MB / 1.308 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/1.277, allocations: 382.4 kB / 1.308 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/1.277, allocations: 0.5109 MB / 1.309 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.277, allocations: 39.12 kB / 1.309 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001213/1.279, allocations: 234.8 kB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/1.279, allocations: 3.938 kB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002015/1.281, allocations: 1.164 MB / 1.31 GB, free: 9.996 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.281, allocations: 59.97 kB / 1.31 GB, free: 9.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/1.283, allocations: 1.9 MB / 1.312 GB, free: 8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.283, allocations: 45.7 kB / 1.312 GB, free: 7.949 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008049/1.284, allocations: 0.9146 MB / 1.313 GB, free: 7.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.284, allocations: 209 kB / 1.313 GB, free: 6.816 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/1.285, allocations: 306.5 kB / 1.314 GB, free: 6.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.285, allocations: 357.9 kB / 1.314 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/1.286, allocations: 449.9 kB / 1.314 GB, free: 5.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.287, allocations: 0.6918 MB / 1.315 GB, free: 4.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.288, allocations: 0.9774 MB / 1.316 GB, free: 3.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.288, allocations: 0 / 1.316 GB, free: 3.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00254/1.291, allocations: 1.428 MB / 1.317 GB, free: 2.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.291, allocations: 10.5 kB / 1.317 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.291, allocations: 4 kB / 1.317 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.291, allocations: 8 kB / 1.317 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.292, allocations: 291.9 kB / 1.318 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.292, allocations: 12 kB / 1.318 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.294, allocations: 91.64 kB / 1.318 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.294, allocations: 59.94 kB / 1.318 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001545/1.296, allocations: 0.7212 MB / 1.319 GB, free: 1.293 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/1.297, allocations: 0.6722 MB / 1.319 GB, free: 0.543 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001512/1.298, allocations: 0.9345 MB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/1.298, allocations: 4 kB / 1.32 GB, free: 15.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002564/1.301, allocations: 1.381 MB / 1.321 GB, free: 14.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.301, allocations: 4 kB / 1.321 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.301, allocations: 4 kB / 1.321 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.301, allocations: 8 kB / 1.321 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.302, allocations: 287.5 kB / 1.322 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.302, allocations: 8 kB / 1.322 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.304, allocations: 95.91 kB / 1.322 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/1.304, allocations: 63.89 kB / 1.322 GB, free: 13.71 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.0003219/1.304, allocations: 240 kB / 1.322 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/1.304, allocations: 209.4 kB / 1.322 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/1.306, allocations: 1.08 MB / 1.323 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.307, allocations: 7.922 kB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.307, allocations: 8 kB / 1.323 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/1.307, allocations: 358.2 kB / 1.324 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/1.307, allocations: 20 kB / 1.324 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/1.308, allocations: 31.95 kB / 1.324 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.308, allocations: 44.59 kB / 1.324 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/1.31, allocations: 0.8875 MB / 1.325 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001461/1.311, allocations: 1.12 MB / 1.326 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005351/1.312, allocations: 385 kB / 1.326 GB, free: 9.281 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001651/1.313, allocations: 1.26 MB / 1.327 GB, free: 8.008 MB / 1.061 GB Notification: Performance of Backend: time 4.01e-07/1.313, allocations: 0 / 1.327 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003656/1.317, allocations: 1.696 MB / 1.329 GB, free: 6.32 MB / 1.061 GB Notification: Performance of SimCode: time 0.007387/1.325, allocations: 4.127 MB / 1.333 GB, free: 2.164 MB / 1.061 GB Notification: Performance of Templates: time 0.06757/1.392, allocations: 42.08 MB / 1.374 GB, free: 8.617 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