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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.651/1.651, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.79/2.79, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.05 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8173, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02073/0.8381, allocations: 15.55 MB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.845, allocations: 4.33 MB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.8458, allocations: 11.94 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.847, allocations: 270.3 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.8491, allocations: 0.614 MB / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.8514, allocations: 0.6934 MB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.853, allocations: 1.026 MB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006629/0.8537, allocations: 331 kB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/0.8546, allocations: 422.3 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.8553, allocations: 318.5 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/0.8554, allocations: 28 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.8568, allocations: 0.6317 MB / 1.041 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.8569, allocations: 99.61 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.8573, allocations: 226.8 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.8587, allocations: 0.7555 MB / 1.042 GB, free: 9.266 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8587, allocations: 3.938 kB / 1.042 GB, free: 9.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8587, allocations: 0 / 1.042 GB, free: 9.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.8587, allocations: 0 / 1.042 GB, free: 9.262 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.001643/0.8604, allocations: 0.8252 MB / 1.043 GB, free: 8.383 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.8604, allocations: 16.03 kB / 1.043 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.8606, allocations: 52.28 kB / 1.043 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.8613, allocations: 421.4 kB / 1.043 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.8613, allocations: 20.44 kB / 1.043 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.8614, allocations: 24 kB / 1.043 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.8618, allocations: 215.2 kB / 1.043 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8619, allocations: 0 / 1.043 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.8619, allocations: 4 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8619, allocations: 8 kB / 1.043 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.8623, allocations: 169.6 kB / 1.044 GB, free: 7.426 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.001886/0.8642, allocations: 0.9457 MB / 1.045 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.8645, allocations: 130.6 kB / 1.045 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.8647, allocations: 72.81 kB / 1.045 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.865, allocations: 340.5 kB / 1.045 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.8651, allocations: 34.56 kB / 1.045 GB, free: 5.746 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.8651, allocations: 0 / 1.045 GB, free: 5.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007125/0.8658, allocations: 243.7 kB / 1.045 GB, free: 5.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8659, allocations: 55.41 kB / 1.045 GB, free: 5.438 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.8665, allocations: 478 kB / 1.046 GB, free: 4.957 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.8665, allocations: 33.7 kB / 1.046 GB, free: 4.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.8668, allocations: 232.5 kB / 1.046 GB, free: 4.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.8668, allocations: 43.36 kB / 1.046 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.867, allocations: 61.62 kB / 1.046 GB, free: 4.578 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8671, allocations: 362.7 kB / 1.047 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.8673, allocations: 68.81 kB / 1.047 GB, free: 4.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.8676, allocations: 155.6 kB / 1.047 GB, free: 3.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.868, allocations: 156.1 kB / 1.047 GB, free: 3.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.868, allocations: 0 / 1.047 GB, free: 3.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005704/0.8686, allocations: 266.5 kB / 1.047 GB, free: 3.539 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.8686, allocations: 4 kB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8686, allocations: 0 / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8687, allocations: 7.938 kB / 1.047 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.8689, allocations: 43.97 kB / 1.047 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8689, allocations: 3.984 kB / 1.047 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.8692, allocations: 35.75 kB / 1.047 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.8693, allocations: 16 kB / 1.047 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002854/0.8696, allocations: 192.1 kB / 1.047 GB, free: 3.238 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002614/0.8699, allocations: 162.1 kB / 1.048 GB, free: 3.047 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003465/0.8702, allocations: 176.1 kB / 1.048 GB, free: 2.859 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.8702, allocations: 0 / 1.048 GB, free: 2.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005613/0.8708, allocations: 256.9 kB / 1.048 GB, free: 2.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8708, allocations: 8.062 kB / 1.048 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.8708, allocations: 0 / 1.048 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.8708, allocations: 4 kB / 1.048 GB, free: 2.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.871, allocations: 47.97 kB / 1.048 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.871, allocations: 0 / 1.048 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.8714, allocations: 31.91 kB / 1.048 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.8714, allocations: 8 kB / 1.048 GB, free: 2.504 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.0001514/0.8716, allocations: 200.1 kB / 1.048 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.8717, allocations: 43.44 kB / 1.048 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.8723, allocations: 249.7 kB / 1.049 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.8723, allocations: 4 kB / 1.049 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8723, allocations: 3.938 kB / 1.049 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8723, allocations: 4 kB / 1.049 GB, free: 2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.8734, allocations: 0.7005 MB / 1.049 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8734, allocations: 4 kB / 1.049 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.8736, allocations: 27.98 kB / 1.049 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.8736, allocations: 8.125 kB / 1.049 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.8736, allocations: 3.938 kB / 1.049 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.8736, allocations: 7.938 kB / 1.049 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8736, allocations: 0 / 1.049 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.8742, allocations: 344.2 kB / 1.05 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.8743, allocations: 132.7 kB / 1.05 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.8744, allocations: 8 kB / 1.05 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.8746, allocations: 27.84 kB / 1.05 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.8747, allocations: 11.92 kB / 1.05 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8747, allocations: 8 kB / 1.05 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003756/0.8751, allocations: 338.9 kB / 1.05 GB, free: 292 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8751, allocations: 0 / 1.05 GB, free: 292 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007065/0.8758, allocations: 195.7 kB / 1.05 GB, free: 96 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.001244/0.877, allocations: 491 kB / 1.051 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006947/0.8778, allocations: 283.6 kB / 1.051 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8778, allocations: 0 / 1.051 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.878, allocations: 88.2 kB / 1.051 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8791, allocations: 200 kB / 1.051 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.8805, allocations: 0.7013 MB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.881, allocations: 0.823 MB / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000314/0.8813, allocations: 95.5 kB / 1.053 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.8814, allocations: 35.44 kB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.8814, allocations: 3.938 kB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.01648/0.8979, allocations: 8.485 MB / 1.061 GB, free: 5.125 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