Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.137 MB / 190.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.359/2.359, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 16.27 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7119, allocations: 142.4 MB / 0.9557 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02896/0.7409, allocations: 29.87 MB / 0.9849 GB, free: 172 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.7549, allocations: 10.71 MB / 0.9953 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.7564, allocations: 23.81 kB / 0.9954 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.7574, allocations: 314.1 kB / 0.9957 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.7605, allocations: 1.068 MB / 0.9967 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.7626, allocations: 0.7693 MB / 0.9975 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.766, allocations: 2.826 MB / 1 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.767, allocations: 0.5748 MB / 1.001 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.7691, allocations: 0.8828 MB / 1.002 GB, free: 440 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.7704, allocations: 0.6728 MB / 1.002 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.7706, allocations: 28 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.7725, allocations: 0.5692 MB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.7728, allocations: 143.2 kB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.7736, allocations: 427.4 kB / 1.003 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.7748, allocations: 0.7675 MB / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7748, allocations: 3.938 kB / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7748, allocations: 4 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.614e-05/0.7748, allocations: 0 / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001767/0.7766, allocations: 1.02 MB / 1.005 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7767, allocations: 8.031 kB / 1.005 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.7768, allocations: 95.81 kB / 1.005 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.7776, allocations: 0.5579 MB / 1.006 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.7777, allocations: 41 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.7777, allocations: 56 kB / 1.006 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.7785, allocations: 414.4 kB / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7785, allocations: 0 / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.7786, allocations: 20 kB / 1.006 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.7786, allocations: 12 kB / 1.006 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.7792, allocations: 311.8 kB / 1.007 GB, free: 11.2 MB / 0.7637 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.00269/0.7819, allocations: 1.873 MB / 1.008 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.7823, allocations: 170.5 kB / 1.009 GB, free: 9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.7825, allocations: 84.81 kB / 1.009 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.7828, allocations: 340.4 kB / 1.009 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.7828, allocations: 34.56 kB / 1.009 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.7828, allocations: 0 / 1.009 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0007574/0.7836, allocations: 328.2 kB / 1.009 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.7836, allocations: 51.41 kB / 1.009 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.7844, allocations: 0.6843 MB / 1.01 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.7845, allocations: 33.7 kB / 1.01 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.7848, allocations: 368.7 kB / 1.01 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.7848, allocations: 67.11 kB / 1.011 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.7849, allocations: 45.64 kB / 1.011 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7851, allocations: 386.7 kB / 1.011 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.7853, allocations: 108.7 kB / 1.011 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.7856, allocations: 191.5 kB / 1.011 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.7862, allocations: 244.9 kB / 1.011 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7862, allocations: 0 / 1.011 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007435/0.7869, allocations: 410.1 kB / 1.012 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.787, allocations: 106.7 kB / 1.012 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.787, allocations: 8 kB / 1.012 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.787, allocations: 0 / 1.012 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7881, allocations: 167.8 kB / 1.012 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.7894, allocations: 2.364 MB / 1.014 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.79, allocations: 83.59 kB / 1.015 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.7901, allocations: 16 kB / 1.015 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.7901, allocations: 4 kB / 1.015 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000603/0.7907, allocations: 295.8 kB / 1.015 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.7907, allocations: 4 kB / 1.015 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.7907, allocations: 7.984 kB / 1.015 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.7912, allocations: 107.8 kB / 1.015 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.7912, allocations: 0 / 1.015 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.7917, allocations: 83.56 kB / 1.015 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.7918, allocations: 12 kB / 1.015 GB, free: 2.156 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.7921, allocations: 265 kB / 1.015 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.7922, allocations: 75.06 kB / 1.015 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.7929, allocations: 321.8 kB / 1.016 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7929, allocations: 4 kB / 1.016 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.7929, allocations: 3.938 kB / 1.016 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.7929, allocations: 0 / 1.016 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.7944, allocations: 0.9033 MB / 1.017 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7944, allocations: 0 / 1.017 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.7947, allocations: 67.94 kB / 1.017 GB, free: 460 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7947, allocations: 4 kB / 1.017 GB, free: 456 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.7948, allocations: 11.98 kB / 1.017 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.796, allocations: 2.364 MB / 1.019 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.796, allocations: 0 / 1.019 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.7966, allocations: 417.7 kB / 1.019 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.7969, allocations: 176.1 kB / 1.02 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.797, allocations: 4 kB / 1.02 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.7974, allocations: 59.78 kB / 1.02 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.7975, allocations: 15.98 kB / 1.02 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.7975, allocations: 12 kB / 1.02 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006344/0.7982, allocations: 475 kB / 1.02 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7982, allocations: 0 / 1.02 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009848/0.7992, allocations: 347.2 kB / 1.02 GB, free: 12.46 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005564/0.7997, allocations: 251.4 kB / 1.021 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.8014, allocations: 0.5123 MB / 1.021 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8014, allocations: 0 / 1.021 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.8019, allocations: 143.8 kB / 1.021 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.8041, allocations: 377.5 kB / 1.022 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.8063, allocations: 1.418 MB / 1.023 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.8068, allocations: 0.9293 MB / 1.024 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.8069, allocations: 51.42 kB / 1.024 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.807, allocations: 0 / 1.024 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.02837/0.8353, allocations: 22.02 MB / 1.045 GB, free: 2.824 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches