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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 176.1 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 83.97 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.068e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.829, allocations: 1.913 GB / 3.125 GB, free: 428.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/5.829, allocations: 86.05 kB / 3.125 GB, free: 428.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/7.561, allocations: 457.2 MB / 3.572 GB, free: 310.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/7.561, allocations: 0 / 3.572 GB, free: 310.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.364e-05/7.562, allocations: 25.27 kB / 3.572 GB, free: 310.9 MB / 1.151 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.002177/7.564, allocations: 1.016 MB / 3.573 GB, free: 310.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/7.564, allocations: 9.812 kB / 3.573 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/7.565, allocations: 171.7 kB / 3.573 GB, free: 310.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/7.566, allocations: 0.6889 MB / 3.574 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/7.566, allocations: 15.81 kB / 3.574 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/7.566, allocations: 27.94 kB / 3.574 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005459/7.567, allocations: 266.3 kB / 3.574 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/7.567, allocations: 373.8 kB / 3.574 GB, free: 310.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/7.567, allocations: 0 / 3.574 GB, free: 310.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/7.567, allocations: 1.062 kB / 3.574 GB, free: 310.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/7.568, allocations: 14.03 kB / 3.574 GB, free: 310.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002468/7.57, allocations: 1.845 MB / 3.576 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/7.571, allocations: 316.9 kB / 3.576 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/7.571, allocations: 136.3 kB / 3.577 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/7.571, allocations: 189.1 kB / 3.577 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/7.571, allocations: 35.98 kB / 3.577 GB, free: 309 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/7.571, allocations: 0 / 3.577 GB, free: 309 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001115/7.572, allocations: 406.5 kB / 3.577 GB, free: 308.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/7.572, allocations: 53.75 kB / 3.577 GB, free: 308.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/7.573, allocations: 0.6397 MB / 3.578 GB, free: 308.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/7.573, allocations: 31.48 kB / 3.578 GB, free: 308.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/7.573, allocations: 344.8 kB / 3.578 GB, free: 308.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/7.574, allocations: 96.7 kB / 3.578 GB, free: 308.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/7.574, allocations: 0 / 3.578 GB, free: 308.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/7.574, allocations: 316.9 kB / 3.579 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/7.574, allocations: 103.2 kB / 3.579 GB, free: 308.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/7.574, allocations: 262.4 kB / 3.579 GB, free: 308 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/7.574, allocations: 142.9 kB / 3.579 GB, free: 308 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/7.574, allocations: 0 / 3.579 GB, free: 308 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007715/7.575, allocations: 400.9 kB / 3.58 GB, free: 307.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/7.575, allocations: 275.5 kB / 3.58 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/7.575, allocations: 1.406 kB / 3.58 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/7.575, allocations: 31.55 kB / 3.58 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/7.576, allocations: 110.6 kB / 3.58 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000587/7.577, allocations: 1.166 MB / 3.581 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/7.578, allocations: 82.25 kB / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/7.578, allocations: 18.19 kB / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/7.578, allocations: 3.625 kB / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004887/7.578, allocations: 279.9 kB / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/7.578, allocations: 0 / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/7.578, allocations: 46.98 kB / 3.581 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/7.579, allocations: 92.39 kB / 3.582 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009739/7.58, allocations: 1.406 MB / 3.583 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/7.581, allocations: 95.22 kB / 3.583 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/7.581, allocations: 14.84 kB / 3.583 GB, free: 305.2 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.0001272/7.581, allocations: 110 kB / 3.583 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/7.581, allocations: 61.34 kB / 3.583 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/7.582, allocations: 409.4 kB / 3.584 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/7.582, allocations: 3.281 kB / 3.584 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/7.582, allocations: 0 / 3.584 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/7.582, allocations: 0 / 3.584 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/7.583, allocations: 1.117 MB / 3.585 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/7.583, allocations: 7 kB / 3.585 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/7.583, allocations: 71.78 kB / 3.585 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.199e-05/7.584, allocations: 29.92 kB / 3.585 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/7.584, allocations: 11.73 kB / 3.585 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/7.584, allocations: 1.152 MB / 3.586 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/7.584, allocations: 7.312 kB / 3.586 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/7.585, allocations: 0.707 MB / 3.587 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/7.585, allocations: 212.7 kB / 3.587 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/7.585, allocations: 7.922 kB / 3.587 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/7.586, allocations: 56.39 kB / 3.587 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/7.586, allocations: 28.67 kB / 3.587 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/7.586, allocations: 11.59 kB / 3.587 GB, free: 303.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005888/7.587, allocations: 0.5089 MB / 3.587 GB, free: 303 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/7.587, allocations: 0 / 3.587 GB, free: 303 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001353/7.588, allocations: 405.3 kB / 3.588 GB, free: 303 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001764/7.59, allocations: 1.39 MB / 3.589 GB, free: 302.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00115/7.591, allocations: 0.5564 MB / 3.59 GB, free: 302.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/7.591, allocations: 0 / 3.59 GB, free: 302.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/7.591, allocations: 154.3 kB / 3.59 GB, free: 302.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/7.592, allocations: 228.4 kB / 3.59 GB, free: 302.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/7.594, allocations: 0.8836 MB / 3.591 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/7.594, allocations: 0.9599 MB / 3.592 GB, free: 301.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009935/7.595, allocations: 245.2 kB / 3.592 GB, free: 301.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/7.595, allocations: 30.53 kB / 3.592 GB, free: 301.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.4e-07/7.595, allocations: 3.812 kB / 3.592 GB, free: 301.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02843/7.624, allocations: 18.34 MB / 3.61 GB, free: 301.2 MB / 1.151 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