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.001149/0.001149, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001268/0.001268, allocations: 177.3 kB / 15.95 MB, free: 216 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.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9274/0.9277, allocations: 153.7 MB / 1.021 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.2073/1.135, allocations: 145.9 MB / 1.163 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006738/1.142, allocations: 3.207 MB / 1.166 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008912/1.143, allocations: 19.81 kB / 1.166 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/1.144, allocations: 310.5 kB / 1.167 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003846/1.148, allocations: 1.109 MB / 1.168 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/1.15, allocations: 0.6638 MB / 1.168 GB, free: 9.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002036/1.152, allocations: 0.9561 MB / 1.169 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000871/1.153, allocations: 0.4921 MB / 1.17 GB, free: 8.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/1.155, allocations: 0.6425 MB / 1.17 GB, free: 7.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/1.155, allocations: 422.4 kB / 1.171 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.156, allocations: 32 kB / 1.171 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/1.157, allocations: 0.7058 MB / 1.172 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/1.158, allocations: 223.3 kB / 1.172 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/1.158, allocations: 161.3 kB / 1.172 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/1.159, allocations: 0.8651 MB / 1.173 GB, free: 5.215 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.159, allocations: 0 / 1.173 GB, free: 5.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.245e-06/1.159, allocations: 0 / 1.173 GB, free: 5.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.898e-06/1.159, allocations: 0 / 1.173 GB, free: 5.215 MB / 0.92 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.002886/1.162, allocations: 1.125 MB / 1.174 GB, free: 4.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.162, allocations: 15.98 kB / 1.174 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/1.163, allocations: 126.9 kB / 1.174 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/1.164, allocations: 0.6943 MB / 1.175 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/1.164, allocations: 33 kB / 1.175 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/1.164, allocations: 51.98 kB / 1.175 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/1.165, allocations: 450.3 kB / 1.175 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.165, allocations: 3.938 kB / 1.175 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/1.165, allocations: 16 kB / 1.175 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/1.165, allocations: 16.66 kB / 1.175 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008196/1.166, allocations: 366.4 kB / 1.176 GB, free: 2.234 MB / 0.92 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.002844/1.169, allocations: 1.92 MB / 1.178 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/1.17, allocations: 310.4 kB / 1.178 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/1.17, allocations: 15.98 kB / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.17, allocations: 30.56 kB / 1.178 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 2.795e-06/1.17, allocations: 0 / 1.178 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.001991/1.172, allocations: 0.6818 MB / 1.179 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.172, allocations: 51.41 kB / 1.179 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.173, allocations: 0.8796 MB / 1.179 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/1.173, allocations: 33.7 kB / 1.179 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/1.174, allocations: 332.7 kB / 1.18 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.174, allocations: 102.5 kB / 1.18 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/1.174, allocations: 4 kB / 1.18 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.174, allocations: 318 kB / 1.18 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/1.174, allocations: 127.9 kB / 1.18 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/1.175, allocations: 286.4 kB / 1.181 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/1.175, allocations: 159.9 kB / 1.181 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.175, allocations: 3.938 kB / 1.181 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001126/1.176, allocations: 466.1 kB / 1.181 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.176, allocations: 276.8 kB / 1.181 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.176, allocations: 4 kB / 1.181 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/1.177, allocations: 60.8 kB / 1.182 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/1.177, allocations: 99.86 kB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008287/1.178, allocations: 1.162 MB / 1.183 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/1.179, allocations: 95.72 kB / 1.183 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.179, allocations: 16 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.179, allocations: 0 / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007927/1.18, allocations: 344.4 kB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/1.18, allocations: 0 / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/1.18, allocations: 40.83 kB / 1.183 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.181, allocations: 87.88 kB / 1.183 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/1.182, allocations: 1.479 MB / 1.185 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/1.183, allocations: 110.5 kB / 1.185 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/1.183, allocations: 8 kB / 1.185 GB, free: 8.289 MB / 0.9356 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.0004414/1.183, allocations: 289 kB / 1.185 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.184, allocations: 71.14 kB / 1.185 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.185, allocations: 468.6 kB / 1.186 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.185, allocations: 4 kB / 1.186 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/1.185, allocations: 0 / 1.186 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.185, allocations: 3.984 kB / 1.186 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/1.187, allocations: 1.209 MB / 1.187 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.187, allocations: 0 / 1.187 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/1.187, allocations: 67.94 kB / 1.187 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/1.187, allocations: 52.83 kB / 1.187 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/1.187, allocations: 19.98 kB / 1.187 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007702/1.188, allocations: 1.15 MB / 1.188 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.188, allocations: 4.031 kB / 1.188 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.19, allocations: 0.7955 MB / 1.189 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/1.19, allocations: 208.1 kB / 1.189 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.19, allocations: 11.98 kB / 1.189 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/1.191, allocations: 55.94 kB / 1.189 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/1.191, allocations: 27.92 kB / 1.189 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/1.191, allocations: 11.94 kB / 1.189 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009915/1.192, allocations: 0.6357 MB / 1.19 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.192, allocations: 0 / 1.19 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001062/1.193, allocations: 303.5 kB / 1.19 GB, free: 2.695 MB / 0.9356 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.0005317/1.193, allocations: 204.8 kB / 1.19 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.195, allocations: 0.6359 MB / 1.191 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.195, allocations: 0 / 1.191 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/1.196, allocations: 192.1 kB / 1.191 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.197, allocations: 293 kB / 1.191 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.2, allocations: 1.434 MB / 1.193 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/1.2, allocations: 0.9531 MB / 1.194 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006869/1.201, allocations: 173 kB / 1.194 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.201, allocations: 55.42 kB / 1.194 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of SimCode: time 1.323e-06/1.201, allocations: 0 / 1.194 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.02572/1.227, allocations: 12.63 MB / 1.206 GB, free: 2.234 MB / 0.9512 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","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches