Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009399, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001183/0.001183, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.922/2.922, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 8.844 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4168, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03058/0.4475, allocations: 28.29 MB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.4625, allocations: 10.14 MB / 1.096 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.4644, allocations: 23.81 kB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.4656, allocations: 270.1 kB / 1.096 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.4693, allocations: 0.9286 MB / 1.097 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.4718, allocations: 0.7205 MB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.4752, allocations: 2.397 MB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.4763, allocations: 0.5303 MB / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.4785, allocations: 0.8244 MB / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4797, allocations: 0.6301 MB / 1.102 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.4799, allocations: 32 kB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.4812, allocations: 0.5146 MB / 1.102 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.4813, allocations: 131.4 kB / 1.102 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.4817, allocations: 189.2 kB / 1.103 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.4828, allocations: 0.7483 MB / 1.103 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4828, allocations: 0 / 1.103 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4828, allocations: 0 / 1.103 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4828, allocations: 0 / 1.103 GB, free: 6.855 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00177/0.4846, allocations: 1.031 MB / 1.104 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4847, allocations: 12.02 kB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.4848, allocations: 98.88 kB / 1.104 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.4857, allocations: 0.5343 MB / 1.105 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.4857, allocations: 41 kB / 1.105 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.4858, allocations: 60 kB / 1.105 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/0.4866, allocations: 406.4 kB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4866, allocations: 0 / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.4867, allocations: 23.98 kB / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4867, allocations: 12 kB / 1.105 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.4873, allocations: 311.8 kB / 1.106 GB, free: 4.246 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.003009/0.4903, allocations: 1.862 MB / 1.108 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.4907, allocations: 170.5 kB / 1.108 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.4909, allocations: 88.77 kB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.4913, allocations: 336.4 kB / 1.108 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.4914, allocations: 42.5 kB / 1.108 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.4914, allocations: 0 / 1.108 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0007709/0.4921, allocations: 318.2 kB / 1.108 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4922, allocations: 55.41 kB / 1.109 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.493, allocations: 0.6764 MB / 1.109 GB, free: 448 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.4931, allocations: 37.7 kB / 1.109 GB, free: 404 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.4934, allocations: 364.7 kB / 1.11 GB, free: 36 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.4934, allocations: 63.17 kB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.4935, allocations: 8 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4936, allocations: 374.8 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.4939, allocations: 104.7 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.4942, allocations: 187.6 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4945, allocations: 129.5 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4945, allocations: 4 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007104/0.4952, allocations: 394.5 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.4953, allocations: 111 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4953, allocations: 4 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4953, allocations: 0 / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.4963, allocations: 155.9 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.4978, allocations: 2.371 MB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.4985, allocations: 91.5 kB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.4985, allocations: 19.98 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.4985, allocations: 4 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005858/0.4991, allocations: 295.7 kB / 1.114 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4991, allocations: 0 / 1.114 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.4992, allocations: 4 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.4996, allocations: 99.98 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4996, allocations: 7.875 kB / 1.114 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.5, allocations: 75.62 kB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.5001, allocations: 16 kB / 1.114 GB, free: 11.42 MB / 0.8731 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.5004, allocations: 272.9 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.5005, allocations: 67.16 kB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.5012, allocations: 314.7 kB / 1.115 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.5012, allocations: 0 / 1.115 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5012, allocations: 7.938 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5012, allocations: 0 / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.5025, allocations: 0.912 MB / 1.115 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5026, allocations: 0 / 1.115 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.5029, allocations: 71.94 kB / 1.116 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5029, allocations: 0 / 1.116 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5029, allocations: 16.12 kB / 1.116 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.5041, allocations: 2.352 MB / 1.118 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5041, allocations: 4.031 kB / 1.118 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.5047, allocations: 410.9 kB / 1.118 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.5049, allocations: 172.1 kB / 1.118 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.505, allocations: 4 kB / 1.118 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.5054, allocations: 51.84 kB / 1.118 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.5055, allocations: 23.94 kB / 1.118 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.5055, allocations: 8 kB / 1.118 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005734/0.5061, allocations: 475 kB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5061, allocations: 0 / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009632/0.5071, allocations: 343.2 kB / 1.119 GB, free: 5.734 MB / 0.8731 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005354/0.5076, allocations: 250.1 kB / 1.119 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.5092, allocations: 0.4964 MB / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5092, allocations: 0 / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.5096, allocations: 144 kB / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5114, allocations: 374.3 kB / 1.12 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.5137, allocations: 1.338 MB / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.5143, allocations: 0.9332 MB / 1.123 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005525/0.5148, allocations: 120.8 kB / 1.123 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5149, allocations: 47.44 kB / 1.123 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of SimCode: time 9.11e-07/0.515, allocations: 4 kB / 1.123 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of Templates: time 0.02584/0.5408, allocations: 11.99 MB / 1.135 GB, free: 6.227 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches