Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.586/1.586, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.769/2.769, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8369, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02106/0.858, allocations: 17.4 MB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007983/0.866, allocations: 4.934 MB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000882/0.8669, allocations: 11.94 kB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.868, allocations: 210.9 kB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.8699, allocations: 0.5639 MB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.8721, allocations: 0.6431 MB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.874, allocations: 1.267 MB / 1.041 GB, free: 9.648 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.8746, allocations: 294.8 kB / 1.041 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.8754, allocations: 382.3 kB / 1.042 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.8759, allocations: 322.6 kB / 1.042 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.876, allocations: 20 kB / 1.042 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.8775, allocations: 0.694 MB / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.8777, allocations: 131.5 kB / 1.043 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.878, allocations: 234.6 kB / 1.043 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.8793, allocations: 0.8529 MB / 1.044 GB, free: 6.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8793, allocations: 0 / 1.044 GB, free: 6.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8793, allocations: 0 / 1.044 GB, free: 6.742 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.8793, allocations: 0 / 1.044 GB, free: 6.742 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001474/0.8808, allocations: 0.8836 MB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8809, allocations: 11.97 kB / 1.045 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.8811, allocations: 60.28 kB / 1.045 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.8817, allocations: 449.7 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.8818, allocations: 24.5 kB / 1.045 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.8818, allocations: 28 kB / 1.045 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.8824, allocations: 290.2 kB / 1.046 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8824, allocations: 0 / 1.046 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.8825, allocations: 8 kB / 1.046 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8825, allocations: 8 kB / 1.046 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.8829, allocations: 186.1 kB / 1.046 GB, free: 4.703 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.002069/0.885, allocations: 1.476 MB / 1.047 GB, free: 3.121 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.8854, allocations: 161.2 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.8856, allocations: 84.75 kB / 1.047 GB, free: 2.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.8874, allocations: 1.28 MB / 1.049 GB, free: 1.398 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.8874, allocations: 42.5 kB / 1.049 GB, free: 1.348 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.8874, allocations: 0 / 1.049 GB, free: 1.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006854/0.8881, allocations: 249 kB / 1.049 GB, free: 1.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.8882, allocations: 59.41 kB / 1.049 GB, free: 1.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.889, allocations: 0.581 MB / 1.05 GB, free: 444 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.8891, allocations: 25.7 kB / 1.05 GB, free: 412 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.8893, allocations: 272 kB / 1.05 GB, free: 136 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.8894, allocations: 51.3 kB / 1.05 GB, free: 84 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.8895, allocations: 69.88 kB / 1.05 GB, free: 8 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.8897, allocations: 362.7 kB / 1.05 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.8899, allocations: 85.88 kB / 1.05 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.8902, allocations: 218.7 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.8907, allocations: 227 kB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8907, allocations: 0 / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006189/0.8913, allocations: 316.8 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.8913, allocations: 11.94 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8913, allocations: 4 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8914, allocations: 4 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.8916, allocations: 59.91 kB / 1.051 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.8917, allocations: 7.984 kB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.892, allocations: 47.7 kB / 1.051 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.8921, allocations: 23.92 kB / 1.051 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003516/0.8924, allocations: 212.6 kB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000299/0.8927, allocations: 205.6 kB / 1.052 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000406/0.8931, allocations: 234.9 kB / 1.052 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.8932, allocations: 4 kB / 1.052 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005758/0.8937, allocations: 298.4 kB / 1.052 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.8938, allocations: 8 kB / 1.052 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8938, allocations: 3.938 kB / 1.052 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.8938, allocations: 4.188 kB / 1.052 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.894, allocations: 63.91 kB / 1.052 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.894, allocations: 7.938 kB / 1.052 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.8944, allocations: 48.05 kB / 1.052 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.8944, allocations: 19.98 kB / 1.052 GB, free: 13.39 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001477/0.8946, allocations: 196.1 kB / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.8947, allocations: 51.38 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.8953, allocations: 265.6 kB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.8953, allocations: 0 / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8953, allocations: 0 / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8953, allocations: 0 / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.8964, allocations: 0.741 MB / 1.054 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.8964, allocations: 4 kB / 1.054 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.8966, allocations: 27.98 kB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.8966, allocations: 7.984 kB / 1.054 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8966, allocations: 3.938 kB / 1.054 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.8966, allocations: 4 kB / 1.054 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8966, allocations: 0 / 1.054 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.8971, allocations: 364.2 kB / 1.054 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.8973, allocations: 144.4 kB / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.8973, allocations: 8 kB / 1.054 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.8976, allocations: 16.17 kB / 1.054 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.8976, allocations: 23.92 kB / 1.054 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.8977, allocations: 11.92 kB / 1.054 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004821/0.8981, allocations: 418.8 kB / 1.055 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8981, allocations: 7.938 kB / 1.055 GB, free: 11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000774/0.8989, allocations: 227.6 kB / 1.055 GB, free: 10.78 MB / 0.8106 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 (17): * Single equations (assignments): 15 * 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.001651/0.9006, allocations: 495.7 kB / 1.055 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.9014, allocations: 323.5 kB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.9014, allocations: 1 kB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9016, allocations: 92.14 kB / 1.056 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.9029, allocations: 251.5 kB / 1.056 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.9045, allocations: 0.9528 MB / 1.057 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.905, allocations: 0.839 MB / 1.058 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.9053, allocations: 104.2 kB / 1.058 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.9054, allocations: 43.42 kB / 1.058 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.9055, allocations: 0 / 1.058 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.0208/0.9263, allocations: 9.889 MB / 1.067 GB, free: 14.02 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches