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.002124/0.002124, allocations: 119.4 kB / 16.42 MB, free: 6.48 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.00244/0.00244, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.6/1.6, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.612/2.612, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 68.3 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9149, allocations: 151.6 MB / 1.167 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01791/0.9328, allocations: 17.46 MB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007286/0.9401, allocations: 4.921 MB / 1.189 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.9409, allocations: 19.88 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.9419, allocations: 254.4 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.9438, allocations: 0.6414 MB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.946, allocations: 0.7325 MB / 1.191 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.9478, allocations: 0.967 MB / 1.192 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.9486, allocations: 332.9 kB / 1.192 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.9498, allocations: 430.3 kB / 1.192 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.9505, allocations: 306.6 kB / 1.193 GB, free: 9.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.9506, allocations: 28 kB / 1.193 GB, free: 9.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.9521, allocations: 0.737 MB / 1.193 GB, free: 9.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.9523, allocations: 127.6 kB / 1.194 GB, free: 8.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.9526, allocations: 246.6 kB / 1.194 GB, free: 8.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.9542, allocations: 0.884 MB / 1.195 GB, free: 7.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9543, allocations: 0 / 1.195 GB, free: 7.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9543, allocations: 0 / 1.195 GB, free: 7.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.9543, allocations: 0 / 1.195 GB, free: 7.781 MB / 0.92 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.00124/0.9555, allocations: 0.9021 MB / 1.196 GB, free: 6.828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.9556, allocations: 8.922 kB / 1.196 GB, free: 6.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.9558, allocations: 64.56 kB / 1.196 GB, free: 6.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.9565, allocations: 466.1 kB / 1.196 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.9565, allocations: 24.5 kB / 1.196 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.9566, allocations: 35.98 kB / 1.196 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.9571, allocations: 282.2 kB / 1.196 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.9571, allocations: 7.938 kB / 1.196 GB, free: 5.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.9571, allocations: 8 kB / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.9571, allocations: 12 kB / 1.196 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.9576, allocations: 190.1 kB / 1.197 GB, free: 5.699 MB / 0.92 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.00177/0.9593, allocations: 1.473 MB / 1.198 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.9597, allocations: 162.8 kB / 1.198 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.9599, allocations: 84.81 kB / 1.198 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.9615, allocations: 1.28 MB / 1.2 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.9615, allocations: 42.44 kB / 1.2 GB, free: 2.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.9615, allocations: 0 / 1.2 GB, free: 2.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006338/0.9621, allocations: 253.2 kB / 1.2 GB, free: 2.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.9622, allocations: 51.41 kB / 1.2 GB, free: 2.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.9628, allocations: 0.5848 MB / 1.2 GB, free: 1.434 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.9628, allocations: 33.7 kB / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.9631, allocations: 272.4 kB / 1.201 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.9631, allocations: 55.53 kB / 1.201 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.9632, allocations: 73.92 kB / 1.201 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9634, allocations: 358.8 kB / 1.201 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.9636, allocations: 81.94 kB / 1.201 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.9638, allocations: 211.3 kB / 1.201 GB, free: 300 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.9643, allocations: 235.6 kB / 1.202 GB, free: 32 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.9643, allocations: 0 / 1.202 GB, free: 32 kB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007021/0.965, allocations: 321.1 kB / 1.202 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.965, allocations: 11.94 kB / 1.202 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.965, allocations: 0 / 1.202 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.9651, allocations: 4 kB / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.9654, allocations: 63.91 kB / 1.202 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.9654, allocations: 7.984 kB / 1.202 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.9657, allocations: 39.77 kB / 1.202 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.9658, allocations: 20.16 kB / 1.202 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003349/0.9661, allocations: 216.6 kB / 1.202 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003125/0.9665, allocations: 209.5 kB / 1.203 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004259/0.9669, allocations: 223.3 kB / 1.203 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.9669, allocations: 4 kB / 1.203 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006471/0.9676, allocations: 315.1 kB / 1.203 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9676, allocations: 10.34 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9676, allocations: 4 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.9676, allocations: 7.938 kB / 1.203 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.9679, allocations: 59.91 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9679, allocations: 4 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.9682, allocations: 35.86 kB / 1.203 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.9683, allocations: 20.12 kB / 1.203 GB, free: 14.39 MB / 0.9356 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.0001302/0.9684, allocations: 204 kB / 1.203 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.9685, allocations: 51.61 kB / 1.203 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.9691, allocations: 257.7 kB / 1.204 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.9691, allocations: 4 kB / 1.204 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9691, allocations: 4 kB / 1.204 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.9693, allocations: 148.7 kB / 1.204 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.9694, allocations: 4 kB / 1.204 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.9696, allocations: 15.98 kB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.9696, allocations: 7.984 kB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005045/0.9701, allocations: 280.7 kB / 1.204 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005367/0.9707, allocations: 417.2 kB / 1.205 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001826/0.9709, allocations: 72.14 kB / 1.205 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005006/0.9714, allocations: 419 kB / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of Backend: time 5.81e-07/0.9714, allocations: 0 / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.9743, allocations: 0.9035 MB / 1.206 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002263/0.9765, allocations: 1.407 MB / 1.207 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.023/0.9996, allocations: 11.91 MB / 1.219 GB, free: 14.53 MB / 0.9512 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/jenkins1/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