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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008389/0.0008389, allocations: 84.38 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.0008143/0.0008143, 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.592/2.592, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9586, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.193/1.152, allocations: 158.7 MB / 1.109 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00539/1.157, allocations: 3.115 MB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/1.158, allocations: 15.88 kB / 1.113 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/1.159, allocations: 230.4 kB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/1.161, allocations: 0.7959 MB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/1.163, allocations: 0.7849 MB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002142/1.165, allocations: 1.695 MB / 1.116 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/1.166, allocations: 499.7 kB / 1.116 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/1.168, allocations: 0.6459 MB / 1.117 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007635/1.168, allocations: 0.5252 MB / 1.118 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-05/1.168, allocations: 36 kB / 1.118 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/1.17, allocations: 0.6587 MB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/1.17, allocations: 231.2 kB / 1.118 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/1.171, allocations: 161.3 kB / 1.119 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000982/1.172, allocations: 0.8651 MB / 1.119 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.172, allocations: 4 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/1.172, allocations: 0 / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.172, allocations: 0 / 1.119 GB, free: 6.102 MB / 0.8731 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.00257/1.174, allocations: 1.125 MB / 1.121 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.174, allocations: 12.03 kB / 1.121 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/1.175, allocations: 130.9 kB / 1.121 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/1.176, allocations: 0.6943 MB / 1.121 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/1.176, allocations: 33 kB / 1.121 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/1.176, allocations: 44 kB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/1.177, allocations: 474.1 kB / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.177, allocations: 0 / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/1.177, allocations: 12 kB / 1.122 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/1.177, allocations: 20.66 kB / 1.122 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/1.178, allocations: 370.3 kB / 1.122 GB, free: 3.105 MB / 0.8731 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.002412/1.18, allocations: 1.912 MB / 1.124 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/1.181, allocations: 290.4 kB / 1.124 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.181, allocations: 176.7 kB / 1.125 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/1.181, allocations: 186.2 kB / 1.125 GB, free: 368 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/1.181, allocations: 46.55 kB / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/1.181, allocations: 0 / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001756/1.183, allocations: 0.688 MB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/1.183, allocations: 55.41 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.184, allocations: 0.8719 MB / 1.126 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/1.184, allocations: 33.7 kB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.185, allocations: 336.8 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/1.185, allocations: 94.56 kB / 1.127 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/1.185, allocations: 4 kB / 1.127 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.185, allocations: 317.9 kB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.185, allocations: 123.9 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.186, allocations: 305.8 kB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/1.186, allocations: 157.3 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.186, allocations: 0 / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009658/1.187, allocations: 463.5 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/1.187, allocations: 110.7 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.187, allocations: 3.953 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/1.187, allocations: 56.75 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/1.188, allocations: 99.86 kB / 1.128 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/1.189, allocations: 1.154 MB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/1.19, allocations: 112.9 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/1.19, allocations: 23.97 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/1.19, allocations: 8 kB / 1.13 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007303/1.19, allocations: 337.2 kB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/1.19, allocations: 0 / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/1.191, allocations: 40.83 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/1.191, allocations: 83.88 kB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/1.192, allocations: 1.475 MB / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/1.193, allocations: 106.5 kB / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/1.193, allocations: 15.98 kB / 1.132 GB, free: 8.945 MB / 0.8887 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003469/1.193, allocations: 277 kB / 1.132 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.194, allocations: 71.16 kB / 1.132 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/1.194, allocations: 466.3 kB / 1.132 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/1.194, allocations: 0 / 1.132 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/1.194, allocations: 4 kB / 1.132 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.195, allocations: 4 kB / 1.132 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.196, allocations: 1.211 MB / 1.134 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.196, allocations: 4.188 kB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/1.197, allocations: 63.91 kB / 1.134 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/1.197, allocations: 44.81 kB / 1.134 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.197, allocations: 11.95 kB / 1.134 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006412/1.198, allocations: 1.15 MB / 1.135 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.198, allocations: 7.984 kB / 1.135 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/1.199, allocations: 0.7304 MB / 1.136 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.199, allocations: 208 kB / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.199, allocations: 11.95 kB / 1.136 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/1.2, allocations: 55.94 kB / 1.136 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/1.2, allocations: 23.97 kB / 1.136 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.2, allocations: 11.98 kB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009311/1.201, allocations: 0.6357 MB / 1.136 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.201, allocations: 0 / 1.136 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009866/1.202, allocations: 299.5 kB / 1.137 GB, free: 3.484 MB / 0.8887 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005123/1.202, allocations: 236.8 kB / 1.137 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001498/1.204, allocations: 0.6289 MB / 1.138 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.204, allocations: 3.938 kB / 1.138 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004239/1.204, allocations: 188.1 kB / 1.138 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.206, allocations: 298.9 kB / 1.138 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.208, allocations: 1.429 MB / 1.139 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/1.208, allocations: 0.9492 MB / 1.14 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006154/1.209, allocations: 165 kB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.209, allocations: 55.42 kB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of SimCode: time 7.82e-07/1.209, allocations: 0 / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.0242/1.233, allocations: 12.63 MB / 1.153 GB, free: 3.012 MB / 0.9044 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