Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001581, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001829/0.001828, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.601/1.601, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.858/2.858, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 68.08 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7992, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01828/0.8176, allocations: 15.46 MB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006757/0.8244, allocations: 4.312 MB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000981/0.8254, allocations: 7.938 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.8267, allocations: 238.7 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.8287, allocations: 0.5638 MB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.8307, allocations: 0.6463 MB / 1.038 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.8322, allocations: 1.021 MB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.8329, allocations: 325.8 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.834, allocations: 438.3 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.8346, allocations: 326.5 kB / 1.04 GB, free: 11.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/0.8347, allocations: 24 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.8362, allocations: 0.6317 MB / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.8363, allocations: 103.5 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.8366, allocations: 226.7 kB / 1.041 GB, free: 10.36 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.8377, allocations: 0.7517 MB / 1.041 GB, free: 9.609 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8377, allocations: 4 kB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8377, allocations: 4 kB / 1.041 GB, free: 9.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.8377, allocations: 3.938 kB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001426/0.8391, allocations: 0.8291 MB / 1.042 GB, free: 8.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8392, allocations: 8.031 kB / 1.042 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.8393, allocations: 56.28 kB / 1.042 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.8399, allocations: 417.4 kB / 1.043 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8399, allocations: 20.44 kB / 1.043 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.8399, allocations: 28 kB / 1.043 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.8404, allocations: 211.2 kB / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.8404, allocations: 0 / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.8405, allocations: 8 kB / 1.043 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.8405, allocations: 7.938 kB / 1.043 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.8409, allocations: 165.6 kB / 1.043 GB, free: 7.766 MB / 0.795 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.001702/0.8426, allocations: 0.9457 MB / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.8429, allocations: 134.6 kB / 1.044 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.8431, allocations: 68.81 kB / 1.044 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.8434, allocations: 336.4 kB / 1.044 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.8434, allocations: 34.56 kB / 1.044 GB, free: 6.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.8434, allocations: 0 / 1.044 GB, free: 6.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007251/0.8441, allocations: 242.7 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.8442, allocations: 55.41 kB / 1.045 GB, free: 5.781 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.8447, allocations: 482 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.8448, allocations: 29.7 kB / 1.045 GB, free: 5.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.845, allocations: 236.5 kB / 1.045 GB, free: 5.027 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.845, allocations: 47.3 kB / 1.045 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.8451, allocations: 61.69 kB / 1.046 GB, free: 4.914 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8453, allocations: 354.7 kB / 1.046 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.8455, allocations: 72.81 kB / 1.046 GB, free: 4.484 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.8458, allocations: 153.6 kB / 1.046 GB, free: 4.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.8461, allocations: 161 kB / 1.046 GB, free: 4.145 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8461, allocations: 0 / 1.046 GB, free: 4.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006545/0.8468, allocations: 257 kB / 1.046 GB, free: 3.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8468, allocations: 4 kB / 1.046 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8468, allocations: 0 / 1.046 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.8469, allocations: 11.98 kB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.8471, allocations: 43.91 kB / 1.047 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8471, allocations: 4 kB / 1.047 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.8475, allocations: 39.75 kB / 1.047 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.8475, allocations: 15.98 kB / 1.047 GB, free: 3.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000285/0.8478, allocations: 188.1 kB / 1.047 GB, free: 3.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002499/0.8481, allocations: 165.2 kB / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003378/0.8484, allocations: 172.1 kB / 1.047 GB, free: 3.203 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.8484, allocations: 0 / 1.047 GB, free: 3.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005064/0.8489, allocations: 248.6 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8489, allocations: 9.25 kB / 1.047 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.849, allocations: 0 / 1.047 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.849, allocations: 12 kB / 1.047 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.8493, allocations: 43.97 kB / 1.047 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8493, allocations: 4 kB / 1.047 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.8497, allocations: 35.91 kB / 1.047 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.8497, allocations: 12.17 kB / 1.047 GB, free: 2.844 MB / 0.795 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 (24): * Single equations (assignments): 24 * 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.0001461/0.8498, allocations: 208.1 kB / 1.048 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.8499, allocations: 47.38 kB / 1.048 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.8505, allocations: 249.1 kB / 1.048 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.8506, allocations: 11.94 kB / 1.048 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8506, allocations: 0 / 1.048 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8506, allocations: 4 kB / 1.048 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.8517, allocations: 0.7043 MB / 1.049 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8517, allocations: 0 / 1.049 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.8519, allocations: 31.97 kB / 1.049 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8519, allocations: 4.125 kB / 1.049 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.8519, allocations: 4 kB / 1.049 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.8519, allocations: 11.88 kB / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.852, allocations: 0 / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.8525, allocations: 335.8 kB / 1.049 GB, free: 1.141 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.8526, allocations: 144.4 kB / 1.049 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.8527, allocations: 4 kB / 1.049 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.8529, allocations: 23.91 kB / 1.049 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.853, allocations: 19.92 kB / 1.049 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.853, allocations: 8 kB / 1.049 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003498/0.8534, allocations: 334.9 kB / 1.049 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8534, allocations: 0 / 1.049 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000659/0.854, allocations: 199.7 kB / 1.05 GB, free: 416 kB / 0.795 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001148/0.8552, allocations: 486.7 kB / 1.05 GB, free: 68 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006651/0.8559, allocations: 271.7 kB / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8559, allocations: 4.125 kB / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.8561, allocations: 87.81 kB / 1.05 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8571, allocations: 204 kB / 1.051 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.8586, allocations: 0.8341 MB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.8591, allocations: 0.827 MB / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.8594, allocations: 91.52 kB / 1.052 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8595, allocations: 39.38 kB / 1.052 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.8595, allocations: 0 / 1.052 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.01573/0.8752, allocations: 8.384 MB / 1.061 GB, free: 5.414 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches