Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008665, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009944/0.0009945, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 8.156 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.31, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.183/0.493, allocations: 170.1 MB / 1.225 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005854/0.4989, allocations: 3.283 MB / 1.229 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.4999, allocations: 19.88 kB / 1.229 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.501, allocations: 294.3 kB / 1.229 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.5038, allocations: 0.9947 MB / 1.23 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.5065, allocations: 0.898 MB / 1.231 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.5089, allocations: 1.988 MB / 1.233 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.5099, allocations: 0.5291 MB / 1.233 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.5115, allocations: 0.6809 MB / 1.234 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5125, allocations: 0.5407 MB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.5128, allocations: 35.94 kB / 1.235 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.515, allocations: 1.064 MB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.5154, allocations: 239.1 kB / 1.236 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007227/0.5161, allocations: 411.5 kB / 1.236 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.5175, allocations: 0.8729 MB / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5175, allocations: 3.984 kB / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5175, allocations: 0 / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.5176, allocations: 0 / 1.237 GB, free: 14.37 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003177/0.5207, allocations: 1.125 MB / 1.238 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5208, allocations: 11.97 kB / 1.238 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.5216, allocations: 138.8 kB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.5231, allocations: 0.7133 MB / 1.239 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.5231, allocations: 32.94 kB / 1.239 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5232, allocations: 48 kB / 1.239 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.5242, allocations: 466.2 kB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5242, allocations: 0 / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.5243, allocations: 19.94 kB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.5243, allocations: 20.64 kB / 1.24 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/0.5252, allocations: 366.3 kB / 1.24 GB, free: 11.34 MB / 0.9981 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.003144/0.5283, allocations: 1.92 MB / 1.242 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.529, allocations: 306.3 kB / 1.242 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.5294, allocations: 173.1 kB / 1.242 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5297, allocations: 190.2 kB / 1.242 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5297, allocations: 42.5 kB / 1.242 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 3.336e-06/0.5298, allocations: 0 / 1.242 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.002048/0.5318, allocations: 0.6834 MB / 1.243 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.5319, allocations: 55.41 kB / 1.243 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.5334, allocations: 0.8797 MB / 1.244 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.5335, allocations: 33.7 kB / 1.244 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.5338, allocations: 328.8 kB / 1.244 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5339, allocations: 94.59 kB / 1.244 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.534, allocations: 29.7 kB / 1.244 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5341, allocations: 321.9 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.5345, allocations: 131.9 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.535, allocations: 294.4 kB / 1.245 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.5357, allocations: 320 kB / 1.245 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5357, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001171/0.5369, allocations: 482.6 kB / 1.246 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.5369, allocations: 103 kB / 1.246 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.537, allocations: 0 / 1.246 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.5373, allocations: 68.77 kB / 1.246 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.5379, allocations: 107.9 kB / 1.246 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007096/0.5387, allocations: 1.162 MB / 1.247 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.5396, allocations: 109.3 kB / 1.247 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.5397, allocations: 8 kB / 1.247 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.5397, allocations: 7.938 kB / 1.247 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008137/0.5405, allocations: 348.3 kB / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.5405, allocations: 0 / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.5407, allocations: 40.83 kB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.5411, allocations: 83.94 kB / 1.248 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.5424, allocations: 1.525 MB / 1.249 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/0.5434, allocations: 103.7 kB / 1.25 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.5434, allocations: 11.88 kB / 1.25 GB, free: 0.8867 MB / 0.9981 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.5438, allocations: 284.8 kB / 1.25 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.544, allocations: 71.16 kB / 1.25 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.545, allocations: 465.4 kB / 1.25 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.545, allocations: 4.281 kB / 1.25 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.545, allocations: 0 / 1.25 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.545, allocations: 3.984 kB / 1.25 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5634/1.108, allocations: 1.209 MB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.108, allocations: 2.359 kB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/1.109, allocations: 63.92 kB / 1.252 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/1.109, allocations: 46.19 kB / 1.252 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.109, allocations: 10.94 kB / 1.252 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004923/1.11, allocations: 1.15 MB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.11, allocations: 2.219 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/1.111, allocations: 0.7304 MB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/1.111, allocations: 212 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/1.111, allocations: 12.94 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007103/1.112, allocations: 53.28 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/1.112, allocations: 28.59 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.112, allocations: 11.34 kB / 1.254 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001018/1.113, allocations: 0.6408 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.113, allocations: 3.938 kB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001048/1.114, allocations: 300.5 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004994/1.115, allocations: 212.1 kB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001547/1.116, allocations: 0.6345 MB / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.116, allocations: 0 / 1.255 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/1.117, allocations: 189.9 kB / 1.256 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.119, allocations: 297.1 kB / 1.256 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.12, allocations: 1.529 MB / 1.257 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/1.121, allocations: 0.9425 MB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.121, allocations: 58.89 kB / 1.258 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.1e-07/1.121, allocations: 2.562 kB / 1.258 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0258/1.147, allocations: 15.99 MB / 1.274 GB, free: 185.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dam.m_flow,vav.m_flow,dam.dp,vav.dp,res.dp Variables in the result:dam.dp,dam.m_flow,res.dp,time,vav.dp,vav.m_flow