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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001362/0.001362, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001783/0.001783, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000553/0.0005531, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8024, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02087/0.8233, allocations: 16.02 MB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008717/0.8322, allocations: 4.601 MB / 1.043 GB, free: 11.35 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009916/0.8332, allocations: 15.88 kB / 1.043 GB, free: 11.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.8343, allocations: 190.9 kB / 1.043 GB, free: 11.15 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.8361, allocations: 0.4936 MB / 1.043 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.8386, allocations: 0.6048 MB / 1.044 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.8403, allocations: 1.087 MB / 1.045 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.841, allocations: 264.5 kB / 1.045 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.8421, allocations: 358.4 kB / 1.045 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.8429, allocations: 286.7 kB / 1.046 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.843, allocations: 16 kB / 1.046 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.8446, allocations: 0.5926 MB / 1.046 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.8448, allocations: 115.6 kB / 1.046 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.8451, allocations: 117.4 kB / 1.047 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.8462, allocations: 0.5885 MB / 1.047 GB, free: 6.641 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8462, allocations: 4 kB / 1.047 GB, free: 6.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8462, allocations: 0 / 1.047 GB, free: 6.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.8462, allocations: 0 / 1.047 GB, free: 6.637 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.001408/0.8476, allocations: 0.8018 MB / 1.048 GB, free: 5.785 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8477, allocations: 8.031 kB / 1.048 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.8479, allocations: 55.34 kB / 1.048 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.8486, allocations: 432.8 kB / 1.048 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.8486, allocations: 20.56 kB / 1.048 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.8487, allocations: 28 kB / 1.048 GB, free: 5.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.8492, allocations: 290.2 kB / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.8492, allocations: 0 / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.8492, allocations: 8 kB / 1.049 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8492, allocations: 4 kB / 1.049 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.8496, allocations: 202.1 kB / 1.049 GB, free: 4.699 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.001894/0.8516, allocations: 1.488 MB / 1.05 GB, free: 3.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.8519, allocations: 170.6 kB / 1.051 GB, free: 2.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.8521, allocations: 88.81 kB / 1.051 GB, free: 2.836 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.8536, allocations: 1.299 MB / 1.052 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.8537, allocations: 34.56 kB / 1.052 GB, free: 1.301 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.8537, allocations: 0 / 1.052 GB, free: 1.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006102/0.8543, allocations: 259.1 kB / 1.052 GB, free: 1.043 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.8544, allocations: 55.41 kB / 1.052 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.855, allocations: 0.5886 MB / 1.053 GB, free: 384 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.8551, allocations: 25.7 kB / 1.053 GB, free: 352 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.8553, allocations: 272.1 kB / 1.053 GB, free: 76 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.8553, allocations: 51.2 kB / 1.053 GB, free: 24 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.8553, allocations: 8 kB / 1.053 GB, free: 16 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.8555, allocations: 358.8 kB / 1.053 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.8557, allocations: 76.45 kB / 1.054 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.856, allocations: 222.7 kB / 1.054 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.8562, allocations: 95.91 kB / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8562, allocations: 0 / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005736/0.8568, allocations: 322.7 kB / 1.054 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.8569, allocations: 161.7 kB / 1.054 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.857, allocations: 4 kB / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.857, allocations: 4 kB / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.8572, allocations: 63.89 kB / 1.054 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8573, allocations: 4 kB / 1.054 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.8576, allocations: 51.67 kB / 1.054 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.8576, allocations: 15.98 kB / 1.054 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/0.8577, allocations: 4 kB / 1.054 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004642/0.8581, allocations: 253.6 kB / 1.055 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8581, allocations: 0 / 1.055 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.8582, allocations: 4 kB / 1.055 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.8584, allocations: 63.91 kB / 1.055 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.8584, allocations: 20.17 kB / 1.055 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.8587, allocations: 47.67 kB / 1.055 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.8587, allocations: 11.98 kB / 1.055 GB, free: 14.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.859, allocations: 261 kB / 1.055 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.859, allocations: 55.38 kB / 1.055 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.8596, allocations: 266.7 kB / 1.055 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.8596, allocations: 4 kB / 1.055 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8596, allocations: 4 kB / 1.055 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8596, allocations: 0 / 1.055 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.8607, allocations: 0.7472 MB / 1.056 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8607, allocations: 0 / 1.056 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.8608, allocations: 31.98 kB / 1.056 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8608, allocations: 0 / 1.056 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.8608, allocations: 11.98 kB / 1.056 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.8608, allocations: 0 / 1.056 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.8609, allocations: 4 kB / 1.056 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.8613, allocations: 360 kB / 1.057 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.8615, allocations: 160.4 kB / 1.057 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.8615, allocations: 7.953 kB / 1.057 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.8618, allocations: 19.98 kB / 1.057 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.8618, allocations: 7.984 kB / 1.057 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.8618, allocations: 12 kB / 1.057 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004502/0.8623, allocations: 418.9 kB / 1.057 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8623, allocations: 3.938 kB / 1.057 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008027/0.8631, allocations: 235.6 kB / 1.057 GB, free: 11.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/0.8644, allocations: 0.4896 MB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.8651, allocations: 325.5 kB / 1.058 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8651, allocations: 0 / 1.058 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.8653, allocations: 100.9 kB / 1.058 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.8666, allocations: 251.3 kB / 1.058 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.8681, allocations: 0.9676 MB / 1.059 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.8686, allocations: 0.839 MB / 1.06 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.869, allocations: 108.2 kB / 1.06 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.932e-05/0.8691, allocations: 43.42 kB / 1.06 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/0.8691, allocations: 0 / 1.06 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of Templates: time 0.01872/0.8879, allocations: 9.581 MB / 1.07 GB, free: 14.98 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=480 -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