Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00141/0.00141, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02106/1.044, allocations: 17.47 MB / 1.184 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007505/1.052, allocations: 4.916 MB / 1.189 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/1.053, allocations: 11.94 kB / 1.189 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/1.054, allocations: 266.3 kB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/1.056, allocations: 0.6351 MB / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/1.058, allocations: 0.7285 MB / 1.191 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001502/1.059, allocations: 0.9714 MB / 1.192 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006878/1.06, allocations: 340.8 kB / 1.192 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/1.061, allocations: 418.3 kB / 1.192 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/1.062, allocations: 322.6 kB / 1.193 GB, free: 9.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/1.062, allocations: 28 kB / 1.193 GB, free: 9.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/1.063, allocations: 0.7253 MB / 1.193 GB, free: 8.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/1.064, allocations: 139.5 kB / 1.194 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/1.064, allocations: 242.7 kB / 1.194 GB, free: 8.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/1.066, allocations: 0.8742 MB / 1.195 GB, free: 7.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.066, allocations: 7.938 kB / 1.195 GB, free: 7.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.275e-06/1.066, allocations: 0 / 1.195 GB, free: 7.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.92e-05/1.066, allocations: 0 / 1.195 GB, free: 7.723 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001772/1.068, allocations: 0.8758 MB / 1.196 GB, free: 6.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.068, allocations: 8.922 kB / 1.196 GB, free: 6.789 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/1.068, allocations: 64.27 kB / 1.196 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.069, allocations: 465.6 kB / 1.196 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.069, allocations: 24.5 kB / 1.196 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/1.069, allocations: 28 kB / 1.196 GB, free: 6.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/1.07, allocations: 286.2 kB / 1.196 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.07, allocations: 0 / 1.196 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/1.07, allocations: 12 kB / 1.196 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.07, allocations: 8 kB / 1.196 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/1.07, allocations: 186.1 kB / 1.197 GB, free: 5.684 MB / 0.92 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.002229/1.072, allocations: 1.472 MB / 1.198 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/1.073, allocations: 158.8 kB / 1.198 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.073, allocations: 88.64 kB / 1.198 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/1.075, allocations: 1.276 MB / 1.2 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.075, allocations: 38.44 kB / 1.2 GB, free: 2.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/1.075, allocations: 4 kB / 1.2 GB, free: 2.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0007006/1.076, allocations: 249.1 kB / 1.2 GB, free: 2.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.076, allocations: 51.41 kB / 1.2 GB, free: 2.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008655/1.077, allocations: 0.5848 MB / 1.2 GB, free: 1.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/1.077, allocations: 29.7 kB / 1.2 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/1.077, allocations: 268.1 kB / 1.201 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/1.077, allocations: 63.12 kB / 1.201 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.077, allocations: 69.97 kB / 1.201 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.077, allocations: 358.8 kB / 1.201 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/1.077, allocations: 77.94 kB / 1.201 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/1.078, allocations: 215.2 kB / 1.201 GB, free: 296 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/1.078, allocations: 243.3 kB / 1.202 GB, free: 20 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.078, allocations: 0 / 1.202 GB, free: 20 kB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006578/1.079, allocations: 318.9 kB / 1.202 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.079, allocations: 11.92 kB / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.079, allocations: 4 kB / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.079, allocations: 4 kB / 1.202 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.079, allocations: 60.16 kB / 1.202 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.079, allocations: 8 kB / 1.202 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/1.08, allocations: 39.67 kB / 1.202 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/1.08, allocations: 19.98 kB / 1.202 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003111/1.08, allocations: 216.6 kB / 1.202 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003916/1.08, allocations: 205.6 kB / 1.203 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004396/1.081, allocations: 229.2 kB / 1.203 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.081, allocations: 0 / 1.203 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006055/1.081, allocations: 306.7 kB / 1.203 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.081, allocations: 8 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/1.081, allocations: 3.938 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/1.082, allocations: 4 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/1.082, allocations: 64.16 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.082, allocations: 15.92 kB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/1.082, allocations: 35.81 kB / 1.203 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/1.082, allocations: 16 kB / 1.203 GB, free: 14.39 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001367/1.082, allocations: 200.1 kB / 1.203 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/1.083, allocations: 59.2 kB / 1.203 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/1.083, allocations: 253.7 kB / 1.204 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.083, allocations: 3.984 kB / 1.204 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.083, allocations: 0 / 1.204 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.083, allocations: 4.188 kB / 1.204 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.084, allocations: 0.7417 MB / 1.204 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.084, allocations: 0 / 1.204 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/1.084, allocations: 31.97 kB / 1.204 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.085, allocations: 4 kB / 1.204 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.085, allocations: 11.98 kB / 1.204 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.085, allocations: 0 / 1.204 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.085, allocations: 0 / 1.204 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/1.085, allocations: 360.7 kB / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.085, allocations: 140.4 kB / 1.205 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/1.085, allocations: 11.94 kB / 1.205 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/1.086, allocations: 11.98 kB / 1.205 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/1.086, allocations: 19.92 kB / 1.205 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/1.086, allocations: 8 kB / 1.205 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004805/1.086, allocations: 418.8 kB / 1.205 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.442e-06/1.086, allocations: 0 / 1.205 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008013/1.087, allocations: 235.6 kB / 1.206 GB, free: 11.78 MB / 0.9356 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 (17): * Single equations (assignments): 15 * 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.001238/1.088, allocations: 494.7 kB / 1.206 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007561/1.089, allocations: 317.8 kB / 1.206 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.089, allocations: 0 / 1.206 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/1.089, allocations: 89.08 kB / 1.206 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.09, allocations: 259.3 kB / 1.207 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/1.092, allocations: 0.8382 MB / 1.208 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/1.092, allocations: 0.8428 MB / 1.208 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.092, allocations: 43.42 kB / 1.208 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/1.092, allocations: 0 / 1.208 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Templates: time 0.01421/1.107, allocations: 8.549 MB / 1.217 GB, free: 0.5039 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches