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.001076/0.001076, allocations: 86.72 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.001426/0.001426, 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.434 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.492/2.492, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 16 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8492, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003327/0.8525, allocations: 2.921 MB / 0.9573 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.8545, allocations: 1.393 MB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.8547, allocations: 4.281 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.8549, allocations: 49.34 kB / 0.9587 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.8552, allocations: 143.1 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.8557, allocations: 182 kB / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.8561, allocations: 476.7 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.8564, allocations: 305.6 kB / 0.9598 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.8566, allocations: 122.8 kB / 0.9599 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.8569, allocations: 181.7 kB / 0.96 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.8569, allocations: 13.75 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.8571, allocations: 113.7 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.8572, allocations: 94.12 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.8573, allocations: 74.27 kB / 0.9603 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.8576, allocations: 339.7 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8576, allocations: 1.188 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8576, allocations: 0 / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8576, allocations: 0 / 0.9606 GB, free: 3.031 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.0007426/0.8584, allocations: 0.5501 MB / 0.9612 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8584, allocations: 12.78 kB / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.8591, allocations: 103.8 kB / 0.9613 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.8594, allocations: 271.1 kB / 0.9616 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/0.8595, allocations: 46.33 kB / 0.9616 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.8595, allocations: 25.3 kB / 0.9616 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.8603, allocations: 434.4 kB / 0.962 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.8603, allocations: 0.9688 kB / 0.962 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.8603, allocations: 11.62 kB / 0.962 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.8604, allocations: 28.95 kB / 0.9621 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.861, allocations: 344.4 kB / 0.9624 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.8632, allocations: 2.1 MB / 0.9645 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.8638, allocations: 208.9 kB / 0.9647 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.8642, allocations: 143.4 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.8642, allocations: 3.984 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.8642, allocations: 42.12 kB / 0.9648 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.8643, allocations: 0 / 0.9648 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0006526/0.8649, allocations: 269 kB / 0.9651 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.865, allocations: 53.44 kB / 0.9651 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.8652, allocations: 231 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.8653, allocations: 25.7 kB / 0.9654 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.8654, allocations: 195.7 kB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.8655, allocations: 59.62 kB / 0.9656 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.8655, allocations: 5.031 kB / 0.9656 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8656, allocations: 335.9 kB / 0.966 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.8658, allocations: 75.23 kB / 0.966 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.8661, allocations: 189.5 kB / 0.9662 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.8664, allocations: 113 kB / 0.9663 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8664, allocations: 5.969 kB / 0.9663 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006208/0.867, allocations: 295.4 kB / 0.9666 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.8672, allocations: 190.6 kB / 0.9668 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8672, allocations: 3.25 kB / 0.9668 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.8672, allocations: 4.75 kB / 0.9668 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.8677, allocations: 72.89 kB / 0.9669 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.8689, allocations: 1.31 MB / 0.9681 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.8692, allocations: 38.7 kB / 0.9682 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.8692, allocations: 17.19 kB / 0.9682 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.8692, allocations: 4.75 kB / 0.9682 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004851/0.8697, allocations: 252.4 kB / 0.9684 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8697, allocations: 2.656 kB / 0.9684 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8697, allocations: 10.3 kB / 0.9685 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.8701, allocations: 68.62 kB / 0.9685 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009413/0.8711, allocations: 1.302 MB / 0.9698 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.8712, allocations: 29.02 kB / 0.9698 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.8713, allocations: 14.5 kB / 0.9698 GB, free: 10.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002574/0.8715, allocations: 237.7 kB / 0.9701 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.8716, allocations: 22 kB / 0.9701 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.8717, allocations: 31.7 kB / 0.9701 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.8717, allocations: 1.594 kB / 0.9701 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8717, allocations: 1 kB / 0.9701 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8717, allocations: 4 kB / 0.9701 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8731, allocations: 0.7507 MB / 0.9708 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8731, allocations: 1.938 kB / 0.9709 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.8734, allocations: 47.66 kB / 0.9709 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.8735, allocations: 6.281 kB / 0.9709 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8735, allocations: 2.25 kB / 0.9709 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8735, allocations: 1.906 kB / 0.9709 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.8735, allocations: 13.88 kB / 0.9709 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.874, allocations: 324.9 kB / 0.9712 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.8741, allocations: 112.8 kB / 0.9713 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.8741, allocations: 5.875 kB / 0.9713 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.8743, allocations: 15.61 kB / 0.9714 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.8743, allocations: 22.66 kB / 0.9714 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.8744, allocations: 4.781 kB / 0.9714 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001621/0.8745, allocations: 162.1 kB / 0.9715 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8745, allocations: 0 / 0.9715 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006407/0.8752, allocations: 112.5 kB / 0.9716 GB, free: 9.406 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0001314/0.8753, allocations: 103.2 kB / 0.9717 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8764, allocations: 347.6 kB / 0.9721 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8764, allocations: 0 / 0.9721 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.8767, allocations: 108.3 kB / 0.9722 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.8772, allocations: 47.95 kB / 0.9722 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.8783, allocations: 0.5806 MB / 0.9728 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.8788, allocations: 0.7764 MB / 0.9735 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.879, allocations: 61.16 kB / 0.9736 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.8791, allocations: 19.62 kB / 0.9736 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.8791, allocations: 0 / 0.9736 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of Templates: time 0.007129/0.8862, allocations: 2.149 MB / 0.9757 GB, free: 6.812 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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