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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, 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.001076/0.001076, allocations: 193.6 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.503/2.503, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.604, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01764/0.6217, allocations: 15.55 MB / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006528/0.6283, allocations: 4.34 MB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.6289, allocations: 15.88 kB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.6298, allocations: 266.3 kB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.6314, allocations: 0.61 MB / 1.038 GB, free: 13.67 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.6333, allocations: 0.7007 MB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.6346, allocations: 1.013 MB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005355/0.6351, allocations: 338 kB / 1.04 GB, free: 11.62 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007468/0.6359, allocations: 414.4 kB / 1.04 GB, free: 11.22 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.6364, allocations: 326.5 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.6365, allocations: 31.98 kB / 1.04 GB, free: 10.87 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.6376, allocations: 0.62 MB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.6378, allocations: 107.5 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.638, allocations: 226.7 kB / 1.041 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.6391, allocations: 0.7478 MB / 1.042 GB, free: 9.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6392, allocations: 4 kB / 1.042 GB, free: 9.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6392, allocations: 0 / 1.042 GB, free: 9.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6392, allocations: 4 kB / 1.042 GB, free: 9.16 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.001292/0.6405, allocations: 0.8251 MB / 1.043 GB, free: 8.281 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6405, allocations: 12.03 kB / 1.043 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.6406, allocations: 62.66 kB / 1.043 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.6407, allocations: 56.28 kB / 1.043 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.6413, allocations: 413.3 kB / 1.043 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.6413, allocations: 32.38 kB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.6414, allocations: 28 kB / 1.043 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.6418, allocations: 211.2 kB / 1.044 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6419, allocations: 0 / 1.044 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.6419, allocations: 4 kB / 1.044 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6419, allocations: 4 kB / 1.044 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.6423, allocations: 169.6 kB / 1.044 GB, free: 7.254 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.001636/0.6439, allocations: 0.9497 MB / 1.045 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.6442, allocations: 130.5 kB / 1.045 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.6444, allocations: 72.81 kB / 1.045 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.6447, allocations: 336.5 kB / 1.045 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6448, allocations: 34.56 kB / 1.045 GB, free: 5.574 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.6448, allocations: 4 kB / 1.045 GB, free: 5.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0006488/0.6454, allocations: 244.9 kB / 1.046 GB, free: 5.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6455, allocations: 59.28 kB / 1.046 GB, free: 5.258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.646, allocations: 474 kB / 1.046 GB, free: 4.781 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.646, allocations: 33.7 kB / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6462, allocations: 232.5 kB / 1.046 GB, free: 4.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.6462, allocations: 47.36 kB / 1.046 GB, free: 4.465 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.6463, allocations: 57.69 kB / 1.046 GB, free: 4.402 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6465, allocations: 354.7 kB / 1.047 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.6467, allocations: 68.81 kB / 1.047 GB, free: 3.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.6469, allocations: 155.7 kB / 1.047 GB, free: 3.797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.6473, allocations: 163.8 kB / 1.047 GB, free: 3.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6473, allocations: 0 / 1.047 GB, free: 3.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005359/0.6479, allocations: 256.9 kB / 1.047 GB, free: 3.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6479, allocations: 11.98 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6479, allocations: 0 / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6479, allocations: 4 kB / 1.047 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.6482, allocations: 43.91 kB / 1.047 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6482, allocations: 4 kB / 1.047 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.6485, allocations: 31.77 kB / 1.047 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.6485, allocations: 15.98 kB / 1.047 GB, free: 3.262 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002878/0.6488, allocations: 192 kB / 1.048 GB, free: 3.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002506/0.6491, allocations: 162.2 kB / 1.048 GB, free: 2.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003388/0.6495, allocations: 168.2 kB / 1.048 GB, free: 2.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.6495, allocations: 192 / 1.048 GB, free: 2.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000524/0.65, allocations: 252.9 kB / 1.048 GB, free: 2.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.65, allocations: 13.34 kB / 1.048 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.65, allocations: 0 / 1.048 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.65, allocations: 8.062 kB / 1.048 GB, free: 2.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.6502, allocations: 47.91 kB / 1.048 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6503, allocations: 4 kB / 1.048 GB, free: 2.375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.6506, allocations: 27.97 kB / 1.048 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.6506, allocations: 8 kB / 1.048 GB, free: 2.34 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.0001224/0.6508, allocations: 208 kB / 1.049 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.6508, allocations: 43.44 kB / 1.049 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.6514, allocations: 245.2 kB / 1.049 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6514, allocations: 7.984 kB / 1.049 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6515, allocations: 4 kB / 1.049 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6515, allocations: 0 / 1.049 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.6525, allocations: 0.7043 MB / 1.049 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.6525, allocations: 0 / 1.049 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.6526, allocations: 31.98 kB / 1.05 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6526, allocations: 0 / 1.05 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6526, allocations: 7.938 kB / 1.05 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6526, allocations: 7.984 kB / 1.05 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6527, allocations: 4.125 kB / 1.05 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.6531, allocations: 339.8 kB / 1.05 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.6533, allocations: 144.5 kB / 1.05 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.6533, allocations: 11.94 kB / 1.05 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.6536, allocations: 11.98 kB / 1.05 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.6536, allocations: 11.98 kB / 1.05 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6537, allocations: 4 kB / 1.05 GB, free: 456 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000377/0.654, allocations: 338.9 kB / 1.05 GB, free: 120 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.81e-07/0.654, allocations: 0 / 1.05 GB, free: 120 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007029/0.6548, allocations: 203.6 kB / 1.051 GB, free: 15.91 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 (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.001854/0.6566, allocations: 1.256 MB / 1.052 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.6573, allocations: 281.5 kB / 1.052 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6573, allocations: 0 / 1.052 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.6575, allocations: 79.89 kB / 1.052 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6586, allocations: 208.3 kB / 1.052 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.6632, allocations: 3.383 MB / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6636, allocations: 0.827 MB / 1.056 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.6639, allocations: 87.52 kB / 1.057 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6641, allocations: 147.4 kB / 1.057 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.6641, allocations: 0 / 1.057 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.6962, allocations: 12.68 MB / 1.069 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.345, allocations: 10.5 kB / 1.069 GB, free: 13.19 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > 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/jenkins1/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