Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001344/0.001344, allocations: 105.2 kB / 15.99 MB, free: 6.355 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.001333/0.001334, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 68.89 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3399, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.5523/0.8922, allocations: 15.46 MB / 1.079 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.898, allocations: 4.298 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.8985, allocations: 16.12 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008531/0.8994, allocations: 231.1 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.9008, allocations: 0.5618 MB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.9027, allocations: 0.6366 MB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.9038, allocations: 1.037 MB / 1.086 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.9043, allocations: 329.2 kB / 1.086 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.9049, allocations: 421 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.9053, allocations: 335 kB / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.9054, allocations: 27.5 kB / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.9065, allocations: 0.6329 MB / 1.088 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.9066, allocations: 93.83 kB / 1.088 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.9068, allocations: 233.9 kB / 1.088 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.9077, allocations: 0.5483 MB / 1.088 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9077, allocations: 0.9375 kB / 1.088 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9077, allocations: 0 / 1.088 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9077, allocations: 0.5156 kB / 1.088 GB, free: 9.754 MB / 0.8419 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.001153/0.9088, allocations: 0.8264 MB / 1.089 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9089, allocations: 13.56 kB / 1.089 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.909, allocations: 55.78 kB / 1.089 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.9095, allocations: 418.5 kB / 1.09 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.9095, allocations: 20.31 kB / 1.09 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.9096, allocations: 25.97 kB / 1.09 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.91, allocations: 216.5 kB / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9101, allocations: 3.812 kB / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9101, allocations: 9.031 kB / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.9101, allocations: 9.391 kB / 1.09 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.9105, allocations: 167.3 kB / 1.09 GB, free: 8.832 MB / 0.8419 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.001486/0.912, allocations: 0.9437 MB / 1.091 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.9123, allocations: 134.7 kB / 1.091 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.9124, allocations: 68.78 kB / 1.091 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.9126, allocations: 335.5 kB / 1.092 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.9126, allocations: 39.94 kB / 1.092 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.9127, allocations: 0 / 1.092 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0005854/0.9132, allocations: 239.1 kB / 1.092 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.9133, allocations: 54.34 kB / 1.092 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.9138, allocations: 471 kB / 1.092 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.9138, allocations: 31.45 kB / 1.092 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.914, allocations: 236.2 kB / 1.093 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.914, allocations: 49.8 kB / 1.093 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.9141, allocations: 56.88 kB / 1.093 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.9142, allocations: 355 kB / 1.093 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.9144, allocations: 72.39 kB / 1.093 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.9146, allocations: 157.7 kB / 1.093 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.9149, allocations: 167.1 kB / 1.093 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9149, allocations: 0 / 1.093 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004809/0.9154, allocations: 251.9 kB / 1.094 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9155, allocations: 8.781 kB / 1.094 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9155, allocations: 1 kB / 1.094 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9155, allocations: 2.219 kB / 1.094 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.9157, allocations: 50.52 kB / 1.094 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9157, allocations: 2.812 kB / 1.094 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.9161, allocations: 41.5 kB / 1.094 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.9161, allocations: 13.14 kB / 1.094 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002657/0.9164, allocations: 193.7 kB / 1.094 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002456/0.9167, allocations: 160 kB / 1.094 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003306/0.917, allocations: 177.7 kB / 1.094 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.917, allocations: 4.625 kB / 1.094 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000527/0.9175, allocations: 254.4 kB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.9176, allocations: 6.188 kB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.9176, allocations: 1.438 kB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.9176, allocations: 2.844 kB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.9178, allocations: 45.91 kB / 1.095 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9178, allocations: 2.766 kB / 1.095 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.9182, allocations: 40.42 kB / 1.095 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.9182, allocations: 13.55 kB / 1.095 GB, free: 6.023 MB / 0.8419 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 8.008e-05/0.9183, allocations: 197.2 kB / 1.095 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.9184, allocations: 39.16 kB / 1.095 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005598/0.9189, allocations: 251 kB / 1.095 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.919, allocations: 2.844 kB / 1.095 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.919, allocations: 0 / 1.095 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.919, allocations: 3.828 kB / 1.095 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.9199, allocations: 0.7102 MB / 1.096 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9199, allocations: 5 kB / 1.096 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.9201, allocations: 27.72 kB / 1.096 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.9201, allocations: 2.562 kB / 1.096 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.9201, allocations: 7.453 kB / 1.096 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.9201, allocations: 7.875 kB / 1.096 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9201, allocations: 1.5 kB / 1.096 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.9206, allocations: 345.5 kB / 1.096 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.9207, allocations: 143.8 kB / 1.096 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.9207, allocations: 2.203 kB / 1.096 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.921, allocations: 29.39 kB / 1.096 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.921, allocations: 16.27 kB / 1.096 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.9211, allocations: 5.062 kB / 1.096 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000338/0.9214, allocations: 336.7 kB / 1.097 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9214, allocations: 3.938 kB / 1.097 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006984/0.9221, allocations: 198 kB / 1.097 GB, free: 4.621 MB / 0.8419 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.001491/0.9236, allocations: 481.4 kB / 1.097 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.9243, allocations: 276 kB / 1.098 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9243, allocations: 0 / 1.098 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.9245, allocations: 85.7 kB / 1.098 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.9256, allocations: 201.4 kB / 1.098 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.9267, allocations: 0.8772 MB / 1.099 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.927, allocations: 0.8288 MB / 1.099 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.9271, allocations: 41.12 kB / 1.1 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.9271, allocations: 1 kB / 1.1 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of Templates: time 0.01689/0.944, allocations: 7.324 MB / 1.107 GB, free: 2.086 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches