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.001703/0.001703, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002228/0.002228, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.896/2.896, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8535/0.8555, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01747/0.873, allocations: 15.5 MB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006643/0.8797, allocations: 4.362 MB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.8804, allocations: 11.88 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.8813, allocations: 226.8 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.8831, allocations: 0.5443 MB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.885, allocations: 0.6372 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.8866, allocations: 1.302 MB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.8871, allocations: 289.7 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.8878, allocations: 390.2 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.8883, allocations: 326.5 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.8884, allocations: 16 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.8896, allocations: 0.6043 MB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.8897, allocations: 91.53 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.8899, allocations: 214.7 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.8909, allocations: 0.7399 MB / 1.041 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.891, allocations: 8 kB / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.31e-07/0.891, allocations: 0 / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.891, allocations: 0 / 1.041 GB, free: 9.465 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.001366/0.8923, allocations: 0.8291 MB / 1.042 GB, free: 8.586 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8924, allocations: 12.03 kB / 1.042 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.8925, allocations: 52.28 kB / 1.042 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.8931, allocations: 421.5 kB / 1.043 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.8932, allocations: 16.44 kB / 1.043 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.8932, allocations: 28 kB / 1.043 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.8937, allocations: 211.2 kB / 1.043 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8937, allocations: 3.938 kB / 1.043 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.8937, allocations: 7.938 kB / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.8938, allocations: 8 kB / 1.043 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.8942, allocations: 169.6 kB / 1.043 GB, free: 7.629 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.001691/0.8959, allocations: 0.9379 MB / 1.044 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.8962, allocations: 134.6 kB / 1.044 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.8964, allocations: 72.81 kB / 1.044 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.8967, allocations: 340.3 kB / 1.044 GB, free: 5.992 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.8968, allocations: 34.56 kB / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 3.427e-06/0.8968, allocations: 0 / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.000655/0.8974, allocations: 247.6 kB / 1.045 GB, free: 5.703 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8975, allocations: 55.41 kB / 1.045 GB, free: 5.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.8981, allocations: 478 kB / 1.045 GB, free: 5.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.8981, allocations: 29.7 kB / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.8983, allocations: 228.5 kB / 1.045 GB, free: 4.895 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.8984, allocations: 47.36 kB / 1.045 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.8985, allocations: 61.69 kB / 1.046 GB, free: 4.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8987, allocations: 354.7 kB / 1.046 GB, free: 4.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.8989, allocations: 76.75 kB / 1.046 GB, free: 4.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.8992, allocations: 153.7 kB / 1.046 GB, free: 4.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.8995, allocations: 164.1 kB / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8995, allocations: 0 / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005534/0.9001, allocations: 263.2 kB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9001, allocations: 4 kB / 1.047 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9001, allocations: 0 / 1.047 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9002, allocations: 8 kB / 1.047 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.9004, allocations: 43.97 kB / 1.047 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9004, allocations: 3.938 kB / 1.047 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.9008, allocations: 39.75 kB / 1.047 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.9008, allocations: 15.98 kB / 1.047 GB, free: 3.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002951/0.9011, allocations: 192.1 kB / 1.047 GB, free: 3.438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002694/0.9014, allocations: 158.9 kB / 1.047 GB, free: 3.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003437/0.9017, allocations: 172.1 kB / 1.047 GB, free: 3.066 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.9017, allocations: 0 / 1.047 GB, free: 3.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005331/0.9023, allocations: 256.8 kB / 1.047 GB, free: 2.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.9023, allocations: 8 kB / 1.047 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.9023, allocations: 4.062 kB / 1.047 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.9023, allocations: 4 kB / 1.047 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.9025, allocations: 47.91 kB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.9025, allocations: 4 kB / 1.047 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.9029, allocations: 40 kB / 1.047 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.9029, allocations: 15.92 kB / 1.047 GB, free: 2.691 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.0001388/0.9031, allocations: 204.1 kB / 1.048 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.9032, allocations: 39.53 kB / 1.048 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.9037, allocations: 241.2 kB / 1.048 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.9038, allocations: 4 kB / 1.048 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9038, allocations: 4 kB / 1.048 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9038, allocations: 0 / 1.048 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.9048, allocations: 0.7043 MB / 1.049 GB, free: 1.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.9048, allocations: 0 / 1.049 GB, free: 1.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.905, allocations: 44.03 kB / 1.049 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.905, allocations: 4 kB / 1.049 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.905, allocations: 0 / 1.049 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-06/0.905, allocations: 11.94 kB / 1.049 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.905, allocations: 0 / 1.049 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.9055, allocations: 339.7 kB / 1.049 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.9057, allocations: 140.4 kB / 1.049 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.9058, allocations: 8 kB / 1.049 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.906, allocations: 19.91 kB / 1.049 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.9061, allocations: 20.12 kB / 1.049 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.9061, allocations: 4 kB / 1.049 GB, free: 0.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003879/0.9065, allocations: 338.9 kB / 1.05 GB, free: 476 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9065, allocations: 0 / 1.05 GB, free: 476 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006581/0.9072, allocations: 195.7 kB / 1.05 GB, free: 280 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.001537/0.9087, allocations: 482.6 kB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006688/0.9094, allocations: 265.4 kB / 1.05 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9094, allocations: 4 kB / 1.05 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.9096, allocations: 87.83 kB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.9109, allocations: 212.7 kB / 1.051 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.9122, allocations: 0.8514 MB / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.9126, allocations: 0.8233 MB / 1.052 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.9129, allocations: 99.53 kB / 1.052 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.913, allocations: 35.44 kB / 1.052 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.913, allocations: 0 / 1.052 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.01662/0.9297, allocations: 8.331 MB / 1.061 GB, free: 5.312 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=400 -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