Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 100.2 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.001631/0.001632, allocations: 177.3 kB / 15.94 MB, free: 228 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.219 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.398/2.398, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 15.98 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7756, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003283/0.7789, allocations: 2.866 MB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.7809, allocations: 1.371 MB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.7811, allocations: 3.031 kB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.7813, allocations: 47.97 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.7817, allocations: 114.1 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.7823, allocations: 193.2 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.7827, allocations: 226 kB / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.7832, allocations: 305.6 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.7834, allocations: 113.6 kB / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.7837, allocations: 123.3 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.7837, allocations: 14.19 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.784, allocations: 111.8 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.7841, allocations: 80.8 kB / 0.9589 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.7842, allocations: 75.7 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.7847, allocations: 333.9 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7847, allocations: 0 / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7847, allocations: 5.375 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7847, allocations: 0 / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000881/0.7856, allocations: 0.5554 MB / 0.9599 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7856, allocations: 9.812 kB / 0.9599 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.7864, allocations: 117.8 kB / 0.96 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.7867, allocations: 271.2 kB / 0.9602 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.7868, allocations: 46.64 kB / 0.9603 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.7869, allocations: 32.3 kB / 0.9603 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.7876, allocations: 420.9 kB / 0.9607 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7876, allocations: 5.109 kB / 0.9607 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.47e-05/0.7876, allocations: 14.17 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.7877, allocations: 29.92 kB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.7883, allocations: 336.7 kB / 0.9611 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.7905, allocations: 2.103 MB / 0.9631 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.791, allocations: 209.8 kB / 0.9633 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.7911, allocations: 2.031 kB / 0.9633 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.7911, allocations: 32.12 kB / 0.9634 GB, free: 232 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.7911, allocations: 0 / 0.9634 GB, free: 232 kB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006438/0.7918, allocations: 284.8 kB / 0.9636 GB, free: 84 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.7918, allocations: 57.75 kB / 0.9637 GB, free: 16 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.7921, allocations: 230.3 kB / 0.9639 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.7921, allocations: 34.7 kB / 0.9639 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.7923, allocations: 187.4 kB / 0.9641 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.7923, allocations: 55.52 kB / 0.9642 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.7923, allocations: 5.281 kB / 0.9642 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7925, allocations: 339.1 kB / 0.9645 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7927, allocations: 85.31 kB / 0.9646 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.7929, allocations: 181 kB / 0.9648 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.7931, allocations: 109.1 kB / 0.9649 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7932, allocations: 1.219 kB / 0.9649 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005827/0.7937, allocations: 302.6 kB / 0.9652 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000595/0.7944, allocations: 1.227 MB / 0.9663 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7944, allocations: 2.5 kB / 0.9664 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.7944, allocations: 8.922 kB / 0.9664 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.7948, allocations: 73.61 kB / 0.9664 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.796, allocations: 1.308 MB / 0.9677 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.7963, allocations: 41.83 kB / 0.9677 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.7963, allocations: 9.25 kB / 0.9678 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7963, allocations: 4.375 kB / 0.9678 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005737/0.7969, allocations: 265.1 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.7969, allocations: 3.844 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.7969, allocations: 3.75 kB / 0.968 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.7974, allocations: 68.94 kB / 0.9681 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.7987, allocations: 1.308 MB / 0.9694 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.7989, allocations: 28.78 kB / 0.9694 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.7989, allocations: 18.11 kB / 0.9694 GB, free: 10.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (31): * Single equations (assignments): 30 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002882/0.7992, allocations: 234.2 kB / 0.9696 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.7993, allocations: 21.66 kB / 0.9697 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.7994, allocations: 35.55 kB / 0.9697 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.7994, allocations: 2.031 kB / 0.9697 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7994, allocations: 0 / 0.9697 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7994, allocations: 0.9688 kB / 0.9697 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.8005, allocations: 0.6498 MB / 0.9703 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8006, allocations: 1.188 kB / 0.9703 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.801, allocations: 55.91 kB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.801, allocations: 2.562 kB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.801, allocations: 2.031 kB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.801, allocations: 5.953 kB / 0.9704 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.801, allocations: 10.03 kB / 0.9704 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.8016, allocations: 383.7 kB / 0.9708 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.8018, allocations: 116 kB / 0.9709 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.8019, allocations: 7.188 kB / 0.9709 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.802, allocations: 11.09 kB / 0.9709 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.8021, allocations: 17.97 kB / 0.9709 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8021, allocations: 17.05 kB / 0.9709 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001785/0.8023, allocations: 157.2 kB / 0.9711 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8023, allocations: 0 / 0.9711 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006745/0.803, allocations: 116.9 kB / 0.9712 GB, free: 9.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.8032, allocations: 108.3 kB / 0.9713 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.8044, allocations: 356 kB / 0.9716 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8044, allocations: 1.125 kB / 0.9716 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.8048, allocations: 106.6 kB / 0.9717 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.8053, allocations: 45.53 kB / 0.9718 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.8065, allocations: 0.5766 MB / 0.9723 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.807, allocations: 0.7841 MB / 0.9731 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.8073, allocations: 61.05 kB / 0.9732 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.8073, allocations: 22.28 kB / 0.9732 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8073, allocations: 0 / 0.9732 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of Templates: time 0.006644/0.814, allocations: 2.113 MB / 0.9752 GB, free: 6.523 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sen.I,sen.P Variables in the result:conDCDC.VHigh,conDCDC.VLow,conDCDC.conversionFactor,conDCDC.eta,conDCDC.ground_1,conDCDC.ground_2,conDCDC.i_n,conDCDC.terminal_n.v[1],conDCDC.v_n,conductor.P_nominal,conductor.V_nominal,conductor.initMode,conductor.linearized,conductor.mode,resistor.P,resistor.P_nominal,resistor.V_nominal,resistor.initMode,resistor.linearized,resistor.mode,sen.I,sen.P,sen.V,sen.terminal_n.v[1],sen.terminal_p.v[1],sou.V,sou.definiteReference,sou.potentialReference,sou.terminal.v[1],time,varLoad_P.duration,varLoad_P.height,varLoad_P.offset,varLoad_P.startTime