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.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.965 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.0009353/0.0009352, allocations: 180.5 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009128/0.0009127, allocations: 94.47 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.541e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1779, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.485, allocations: 391.3 MB / 1.267 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.485, allocations: 94.77 kB / 1.267 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.187/2.672, allocations: 394.8 MB / 1.653 GB, free: 205 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/2.673, allocations: 0 / 1.653 GB, free: 205 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.781e-05/2.673, allocations: 24.42 kB / 1.653 GB, free: 205 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.001613/2.674, allocations: 1.044 MB / 1.654 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/2.674, allocations: 14.69 kB / 1.654 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/2.674, allocations: 98.77 kB / 1.654 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/2.675, allocations: 0.5617 MB / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/2.675, allocations: 14.12 kB / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/2.675, allocations: 34.12 kB / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003893/2.676, allocations: 245.8 kB / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/2.676, allocations: 308.5 kB / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/2.676, allocations: 0 / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/2.676, allocations: 0 / 1.655 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/2.676, allocations: 10.47 kB / 1.655 GB, free: 204.2 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.002233/2.679, allocations: 1.74 MB / 1.657 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/2.679, allocations: 149 kB / 1.657 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/2.679, allocations: 65.61 kB / 1.657 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/2.679, allocations: 343.7 kB / 1.658 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/2.679, allocations: 37.5 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/2.679, allocations: 3.5 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0004481/2.68, allocations: 219.2 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/2.68, allocations: 58.42 kB / 1.658 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/2.68, allocations: 478.8 kB / 1.658 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/2.68, allocations: 25.7 kB / 1.658 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/2.68, allocations: 368.8 kB / 1.659 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/2.68, allocations: 64.56 kB / 1.659 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/2.68, allocations: 0 / 1.659 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/2.681, allocations: 370.7 kB / 1.659 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/2.681, allocations: 82.08 kB / 1.659 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/2.681, allocations: 186.8 kB / 1.659 GB, free: 202 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/2.681, allocations: 111.8 kB / 1.659 GB, free: 202 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.681, allocations: 0 / 1.659 GB, free: 202 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004674/2.682, allocations: 335.3 kB / 1.66 GB, free: 202 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/2.682, allocations: 277.5 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/2.682, allocations: 0 / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.682, allocations: 3.719 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/2.683, allocations: 149.6 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/2.683, allocations: 2.384 MB / 1.662 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/2.684, allocations: 72.38 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/2.684, allocations: 22.31 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/2.684, allocations: 3.906 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003756/2.684, allocations: 224.8 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/2.684, allocations: 3.797 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/2.684, allocations: 3.938 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/2.685, allocations: 100.7 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/2.685, allocations: 3.719 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/2.685, allocations: 67.53 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/2.685, allocations: 14.06 kB / 1.663 GB, free: 199.3 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.804e-05/2.685, allocations: 118.2 kB / 1.663 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/2.686, allocations: 58.75 kB / 1.663 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/2.686, allocations: 258.6 kB / 1.663 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.686, allocations: 3.594 kB / 1.663 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/2.686, allocations: 0 / 1.663 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/2.686, allocations: 3.438 kB / 1.663 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/2.687, allocations: 0.7673 MB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/2.687, allocations: 0 / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/2.687, allocations: 91.39 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/2.687, allocations: 7.641 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/2.687, allocations: 0 / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006131/2.688, allocations: 2.353 MB / 1.667 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.688, allocations: 3.812 kB / 1.667 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/2.688, allocations: 399 kB / 1.667 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/2.688, allocations: 172.9 kB / 1.667 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/2.689, allocations: 3.938 kB / 1.667 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/2.689, allocations: 53.53 kB / 1.667 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/2.689, allocations: 17.62 kB / 1.667 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/2.689, allocations: 11.31 kB / 1.667 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002983/2.689, allocations: 361.8 kB / 1.668 GB, free: 196 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/2.689, allocations: 0 / 1.668 GB, free: 196 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009362/2.69, allocations: 376.7 kB / 1.668 GB, free: 195.9 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.000736/2.691, allocations: 489 kB / 1.668 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001034/2.692, allocations: 413.8 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/2.692, allocations: 0 / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/2.692, allocations: 114.9 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/2.694, allocations: 297.1 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/2.695, allocations: 0.7119 MB / 1.67 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/2.695, allocations: 0.951 MB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005016/2.696, allocations: 126.4 kB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/2.696, allocations: 36.81 kB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of SimCode: time 4.01e-07/2.696, allocations: 0 / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02033/2.716, allocations: 12.36 MB / 1.683 GB, free: 194.6 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