Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001449/0.001449, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001771/0.001771, allocations: 192.7 kB / 16.25 MB, free: 6.629 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 68.44 kB / 0.9116 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3561, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01639/0.3725, allocations: 15.46 MB / 1.083 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00652/0.3791, allocations: 4.307 MB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.38, allocations: 15.88 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.3812, allocations: 234.8 kB / 1.087 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.3832, allocations: 0.5677 MB / 1.088 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3853, allocations: 0.6377 MB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.387, allocations: 1.029 MB / 1.089 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.3877, allocations: 336 kB / 1.09 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009931/0.3887, allocations: 426.2 kB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.3893, allocations: 322.6 kB / 1.09 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-05/0.3894, allocations: 28 kB / 1.091 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3907, allocations: 0.6356 MB / 1.091 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3909, allocations: 95.56 kB / 1.091 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.3912, allocations: 234.7 kB / 1.091 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.3927, allocations: 0.7517 MB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3927, allocations: 0 / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3927, allocations: 0 / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.3927, allocations: 4 kB / 1.092 GB, free: 1.629 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.001452/0.3942, allocations: 0.8252 MB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3942, allocations: 12.03 kB / 1.093 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.3944, allocations: 56.28 kB / 1.093 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.395, allocations: 417.4 kB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.395, allocations: 20.44 kB / 1.093 GB, free: 228 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.3951, allocations: 31.94 kB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.3956, allocations: 211.2 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3956, allocations: 0 / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3956, allocations: 8 kB / 1.094 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3956, allocations: 4 kB / 1.094 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.396, allocations: 173.6 kB / 1.094 GB, free: 15.8 MB / 0.8575 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.001788/0.3978, allocations: 0.9417 MB / 1.095 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3981, allocations: 130.5 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3983, allocations: 72.8 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.3986, allocations: 340.5 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3987, allocations: 42.5 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3987, allocations: 0 / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0006586/0.3993, allocations: 235.8 kB / 1.096 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3994, allocations: 59.33 kB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.3999, allocations: 482 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3999, allocations: 29.7 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.4001, allocations: 224.6 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.4002, allocations: 51.3 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.4003, allocations: 65.59 kB / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4004, allocations: 350.7 kB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4006, allocations: 72.81 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.4009, allocations: 158.3 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.4012, allocations: 160 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4013, allocations: 0 / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005295/0.4018, allocations: 250.5 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4018, allocations: 8 kB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4018, allocations: 0 / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4019, allocations: 4 kB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4021, allocations: 51.91 kB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4021, allocations: 7.984 kB / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.4025, allocations: 43.7 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.4025, allocations: 12 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002876/0.4028, allocations: 188.1 kB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002643/0.4031, allocations: 161.2 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003284/0.4035, allocations: 168.1 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.4035, allocations: 0 / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005775/0.404, allocations: 255.6 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4041, allocations: 12 kB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.4041, allocations: 48 / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.4041, allocations: 7.984 kB / 1.098 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.4043, allocations: 43.91 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4043, allocations: 4 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4048, allocations: 51.73 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4048, allocations: 12 kB / 1.098 GB, free: 10.86 MB / 0.8575 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.0001267/0.4049, allocations: 192.1 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.405, allocations: 43.62 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.4055, allocations: 254.6 kB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4056, allocations: 7.938 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4056, allocations: 0 / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4056, allocations: 0 / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.4066, allocations: 0.6966 MB / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4066, allocations: 4.125 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4067, allocations: 31.97 kB / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4067, allocations: 0 / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.4068, allocations: 8 kB / 1.1 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4068, allocations: 7.938 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4068, allocations: 0 / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.4073, allocations: 346.1 kB / 1.1 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4074, allocations: 132.6 kB / 1.1 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.4075, allocations: 4 kB / 1.1 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.4077, allocations: 27.91 kB / 1.1 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4078, allocations: 11.98 kB / 1.1 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4078, allocations: 12 kB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003539/0.4082, allocations: 334.9 kB / 1.1 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4082, allocations: 0 / 1.1 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006966/0.4089, allocations: 203.6 kB / 1.101 GB, free: 8.449 MB / 0.8575 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.00116/0.4101, allocations: 482.1 kB / 1.101 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.4107, allocations: 287.5 kB / 1.101 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4108, allocations: 0 / 1.101 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4109, allocations: 83.89 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.412, allocations: 202.4 kB / 1.102 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4133, allocations: 0.8418 MB / 1.102 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.4137, allocations: 0.8347 MB / 1.103 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000312/0.414, allocations: 87.2 kB / 1.103 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.4141, allocations: 35.42 kB / 1.103 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.4141, allocations: 0 / 1.103 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of Templates: time 0.01563/0.4297, allocations: 8.397 MB / 1.112 GB, free: 13.41 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches