Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001035/0.001036, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01069/0.01069, allocations: 170.4 kB / 16.27 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.612/2.612, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9316/0.9321, allocations: 142.4 MB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.2085/1.141, allocations: 170.1 MB / 1.121 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006434/1.147, allocations: 3.304 MB / 1.124 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/1.148, allocations: 15.88 kB / 1.124 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/1.149, allocations: 290.3 kB / 1.125 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003256/1.153, allocations: 0.9914 MB / 1.126 GB, free: 16 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/1.156, allocations: 0.9017 MB / 1.127 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003186/1.159, allocations: 1.98 MB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/1.16, allocations: 0.5367 MB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/1.162, allocations: 0.677 MB / 1.13 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/1.163, allocations: 0.5407 MB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/1.164, allocations: 35.94 kB / 1.13 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/1.166, allocations: 1.064 MB / 1.131 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/1.166, allocations: 239.1 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008362/1.167, allocations: 399.5 kB / 1.132 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/1.17, allocations: 1.222 MB / 1.133 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.17, allocations: 4 kB / 1.133 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.896e-06/1.17, allocations: 0 / 1.133 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.96e-05/1.17, allocations: 0 / 1.133 GB, free: 8.398 MB / 0.8887 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.003329/1.173, allocations: 1.121 MB / 1.134 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.173, allocations: 8.031 kB / 1.134 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/1.174, allocations: 138.8 kB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.175, allocations: 0.7171 MB / 1.135 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/1.175, allocations: 36.98 kB / 1.135 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.175, allocations: 47.91 kB / 1.135 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/1.176, allocations: 466.2 kB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.176, allocations: 0 / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/1.176, allocations: 19.94 kB / 1.136 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/1.176, allocations: 12.66 kB / 1.136 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/1.177, allocations: 378.3 kB / 1.136 GB, free: 5.371 MB / 0.8887 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.002745/1.18, allocations: 1.912 MB / 1.138 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/1.181, allocations: 294.4 kB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/1.181, allocations: 172.7 kB / 1.138 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/1.181, allocations: 194.2 kB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.182, allocations: 42.5 kB / 1.138 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/1.182, allocations: 4 kB / 1.138 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.001957/1.183, allocations: 0.6803 MB / 1.139 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.184, allocations: 55.41 kB / 1.139 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.185, allocations: 0.8757 MB / 1.14 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/1.185, allocations: 37.7 kB / 1.14 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/1.185, allocations: 332.7 kB / 1.14 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/1.185, allocations: 94.59 kB / 1.14 GB, free: 444 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/1.185, allocations: 29.7 kB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.185, allocations: 321.9 kB / 1.141 GB, free: 80 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/1.186, allocations: 124 kB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/1.186, allocations: 302.9 kB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/1.187, allocations: 312.2 kB / 1.142 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.187, allocations: 4 kB / 1.142 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001157/1.188, allocations: 484.9 kB / 1.142 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/1.188, allocations: 111.5 kB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.188, allocations: 0 / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/1.189, allocations: 60.81 kB / 1.142 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/1.189, allocations: 99.86 kB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/1.19, allocations: 1.158 MB / 1.143 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/1.191, allocations: 105.8 kB / 1.143 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/1.191, allocations: 16 kB / 1.143 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/1.191, allocations: 7.938 kB / 1.144 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008408/1.192, allocations: 346 kB / 1.144 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/1.192, allocations: 0 / 1.144 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/1.192, allocations: 36.83 kB / 1.144 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/1.192, allocations: 87.88 kB / 1.144 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.194, allocations: 1.533 MB / 1.145 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/1.195, allocations: 103.7 kB / 1.146 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/1.195, allocations: 11.94 kB / 1.146 GB, free: 10.93 MB / 0.9044 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.0003215/1.195, allocations: 277 kB / 1.146 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.195, allocations: 75.06 kB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.196, allocations: 454.4 kB / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.196, allocations: 8 kB / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.196, allocations: 0 / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.196, allocations: 3.984 kB / 1.146 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.198, allocations: 1.212 MB / 1.148 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.198, allocations: 8.031 kB / 1.148 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/1.199, allocations: 63.89 kB / 1.148 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/1.199, allocations: 40.83 kB / 1.148 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.199, allocations: 15.98 kB / 1.148 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007001/1.2, allocations: 1.154 MB / 1.149 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.2, allocations: 3.938 kB / 1.149 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.201, allocations: 0.7241 MB / 1.149 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/1.201, allocations: 212.1 kB / 1.15 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.201, allocations: 8 kB / 1.15 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/1.202, allocations: 59.83 kB / 1.15 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.202, allocations: 27.97 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.202, allocations: 8 kB / 1.15 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001056/1.203, allocations: 0.6512 MB / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/1.203, allocations: 0 / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009899/1.204, allocations: 299.5 kB / 1.151 GB, free: 5.461 MB / 0.9044 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.0005573/1.205, allocations: 219.5 kB / 1.151 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.207, allocations: 0.6363 MB / 1.152 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.207, allocations: 0 / 1.152 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/1.207, allocations: 188.9 kB / 1.152 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.209, allocations: 298.1 kB / 1.152 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.212, allocations: 1.48 MB / 1.153 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/1.212, allocations: 0.9453 MB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007331/1.213, allocations: 172.9 kB / 1.155 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/1.213, allocations: 55.42 kB / 1.155 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/1.213, allocations: 0 / 1.155 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of Templates: time 0.02419/1.237, allocations: 13.04 MB / 1.167 GB, free: 4.551 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches