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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001008/0.001008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008881/0.008881, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 12.25 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1884/0.5186, allocations: 170.1 MB / 1.225 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005846/0.5245, allocations: 3.288 MB / 1.228 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007784/0.5253, allocations: 15.88 kB / 1.228 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.5263, allocations: 294.4 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.5292, allocations: 1.003 MB / 1.229 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.5321, allocations: 0.8902 MB / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.5345, allocations: 1.991 MB / 1.232 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.5354, allocations: 0.5214 MB / 1.233 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.5368, allocations: 0.6809 MB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007951/0.5376, allocations: 0.5407 MB / 1.234 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.5378, allocations: 35.94 kB / 1.234 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.5399, allocations: 1.064 MB / 1.235 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.5402, allocations: 239.2 kB / 1.235 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.5407, allocations: 411.5 kB / 1.236 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.5423, allocations: 1.215 MB / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5423, allocations: 3.938 kB / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5423, allocations: 0 / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5423, allocations: 0 / 1.237 GB, free: 14.45 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.002742/0.5451, allocations: 1.121 MB / 1.238 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5451, allocations: 8.031 kB / 1.238 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.5457, allocations: 130.8 kB / 1.238 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.547, allocations: 0.721 MB / 1.239 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.547, allocations: 33 kB / 1.239 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.5471, allocations: 44 kB / 1.239 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.548, allocations: 462.2 kB / 1.239 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5481, allocations: 0 / 1.239 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.5481, allocations: 19.94 kB / 1.239 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.5481, allocations: 12.66 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.5489, allocations: 382.3 kB / 1.24 GB, free: 11.43 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.002587/0.5515, allocations: 1.916 MB / 1.241 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.5521, allocations: 302.4 kB / 1.242 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.5525, allocations: 172.6 kB / 1.242 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.5528, allocations: 198.6 kB / 1.242 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.5528, allocations: 42.56 kB / 1.242 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.5528, allocations: 0 / 1.242 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001914/0.5547, allocations: 0.6837 MB / 1.243 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.5548, allocations: 55.41 kB / 1.243 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.5562, allocations: 0.8835 MB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.5563, allocations: 37.7 kB / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.5566, allocations: 328.8 kB / 1.244 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.5567, allocations: 90.66 kB / 1.244 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.5568, allocations: 29.7 kB / 1.244 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5569, allocations: 321.9 kB / 1.244 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.5573, allocations: 131.9 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.5577, allocations: 294.4 kB / 1.245 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5584, allocations: 325.1 kB / 1.245 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/0.5584, allocations: 4 kB / 1.245 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001071/0.5595, allocations: 465.2 kB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.5596, allocations: 113.8 kB / 1.246 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.5596, allocations: 0 / 1.246 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.5599, allocations: 64.8 kB / 1.246 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.5605, allocations: 99.86 kB / 1.246 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007559/0.5613, allocations: 1.162 MB / 1.247 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.5622, allocations: 106 kB / 1.247 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.5622, allocations: 12 kB / 1.247 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.5622, allocations: 4 kB / 1.247 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007969/0.563, allocations: 352.5 kB / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.563, allocations: 0 / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.5632, allocations: 36.83 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.5636, allocations: 91.88 kB / 1.248 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.5649, allocations: 1.525 MB / 1.249 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.5658, allocations: 105.7 kB / 1.249 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.5659, allocations: 11.94 kB / 1.249 GB, free: 0.9766 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.000345/0.5662, allocations: 277 kB / 1.249 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5664, allocations: 75.16 kB / 1.25 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009939/0.5674, allocations: 461.4 kB / 1.25 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.5674, allocations: 4 kB / 1.25 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5674, allocations: 0 / 1.25 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5674, allocations: 3.984 kB / 1.25 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6116/1.179, allocations: 1.211 MB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.179, allocations: 1.969 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/1.179, allocations: 65 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/1.18, allocations: 44.19 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.18, allocations: 11.16 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004726/1.18, allocations: 1.154 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.18, allocations: 6.109 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.181, allocations: 0.7295 MB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.182, allocations: 212.5 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/1.182, allocations: 9.031 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/1.183, allocations: 57.36 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/1.183, allocations: 26.69 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.183, allocations: 15.3 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001032/1.184, allocations: 0.6425 MB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.32e-07/1.184, allocations: 1.031 kB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001035/1.185, allocations: 301.5 kB / 1.254 GB, free: 191.2 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.0004946/1.185, allocations: 207.7 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.187, allocations: 0.6328 MB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.187, allocations: 0 / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/1.187, allocations: 187 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.189, allocations: 302.5 kB / 1.256 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/1.191, allocations: 1.493 MB / 1.257 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/1.191, allocations: 0.9401 MB / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005704/1.192, allocations: 174.5 kB / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/1.192, allocations: 56.81 kB / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.192, allocations: 0 / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02976/1.222, allocations: 13.04 MB / 1.271 GB, free: 187.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches