Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 249.3 MB / 261.8 MB, free: 6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 166.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007565/0.0007566, allocations: 88.16 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.88e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.628, allocations: 391 MB / 1.274 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.628, allocations: 99.25 kB / 1.274 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/2.863, allocations: 397.5 MB / 1.662 GB, free: 200 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.532e-06/2.863, allocations: 0 / 1.662 GB, free: 200 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.516e-05/2.863, allocations: 25.72 kB / 1.662 GB, free: 200 MB / 0.8698 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.001697/2.865, allocations: 1.048 MB / 1.663 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/2.865, allocations: 6.844 kB / 1.663 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/2.865, allocations: 101.3 kB / 1.663 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/2.866, allocations: 0.5624 MB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/2.866, allocations: 44.28 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/2.866, allocations: 55.47 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/2.867, allocations: 375.2 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/2.867, allocations: 0 / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/2.867, allocations: 17.75 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/2.867, allocations: 14.97 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/2.867, allocations: 253.9 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.00234/2.87, allocations: 1.861 MB / 1.666 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/2.87, allocations: 150.2 kB / 1.666 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/2.87, allocations: 69.14 kB / 1.666 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/2.87, allocations: 344.6 kB / 1.667 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/2.87, allocations: 30.56 kB / 1.667 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/2.87, allocations: 3.344 kB / 1.667 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0003758/2.871, allocations: 217.9 kB / 1.667 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/2.871, allocations: 51.41 kB / 1.667 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/2.871, allocations: 0.5783 MB / 1.668 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/2.871, allocations: 32.52 kB / 1.668 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/2.871, allocations: 372.3 kB / 1.668 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/2.871, allocations: 66.53 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/2.871, allocations: 12.62 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/2.872, allocations: 377.6 kB / 1.668 GB, free: 197 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/2.872, allocations: 82.72 kB / 1.668 GB, free: 197 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/2.872, allocations: 202.5 kB / 1.669 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/2.872, allocations: 111.4 kB / 1.669 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.872, allocations: 3.5 kB / 1.669 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004525/2.873, allocations: 341.9 kB / 1.669 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/2.873, allocations: 282.3 kB / 1.669 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/2.873, allocations: 2.625 kB / 1.669 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/2.873, allocations: 3.797 kB / 1.669 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/2.874, allocations: 132.8 kB / 1.669 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/2.874, allocations: 2.367 MB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/2.875, allocations: 91.08 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/2.875, allocations: 18.38 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/2.875, allocations: 3.938 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003627/2.875, allocations: 251 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/2.875, allocations: 0 / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/2.875, allocations: 3.719 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/2.876, allocations: 107.6 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/2.876, allocations: 3.219 kB / 1.672 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/2.876, allocations: 86.27 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/2.876, allocations: 17.09 kB / 1.672 GB, free: 194.1 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/2.876, allocations: 122.5 kB / 1.672 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/2.877, allocations: 70.59 kB / 1.673 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/2.877, allocations: 275.8 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/2.877, allocations: 7.062 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.877, allocations: 0 / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/2.877, allocations: 5.953 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/2.878, allocations: 0.8536 MB / 1.674 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/2.878, allocations: 2.938 kB / 1.674 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/2.878, allocations: 85.42 kB / 1.674 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/2.878, allocations: 3.688 kB / 1.674 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/2.878, allocations: 3.969 kB / 1.674 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006236/2.879, allocations: 2.352 MB / 1.676 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.879, allocations: 0 / 1.676 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/2.879, allocations: 425 kB / 1.676 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/2.879, allocations: 171.5 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/2.88, allocations: 7.203 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/2.88, allocations: 56.95 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/2.88, allocations: 14.75 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/2.88, allocations: 16.88 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004131/2.88, allocations: 451.6 kB / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.32e-07/2.88, allocations: 0 / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009162/2.881, allocations: 394.3 kB / 1.677 GB, free: 190.7 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006859/2.882, allocations: 463.2 kB / 1.678 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001029/2.883, allocations: 435.8 kB / 1.678 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.883, allocations: 0 / 1.678 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/2.883, allocations: 111 kB / 1.678 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/2.885, allocations: 376.4 kB / 1.679 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/2.886, allocations: 0.7504 MB / 1.68 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/2.887, allocations: 0.9509 MB / 1.68 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005399/2.887, allocations: 153.2 kB / 1.681 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/2.887, allocations: 36.09 kB / 1.681 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/2.887, allocations: 0 / 1.681 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.0221/2.909, allocations: 16.71 MB / 1.697 GB, free: 189.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches