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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009212/0.0009212, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007597/0.007597, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8302, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003708/0.834, allocations: 3.052 MB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.8362, allocations: 1.465 MB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.8364, allocations: 3.969 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.8366, allocations: 50.25 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.8371, allocations: 175.2 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.8377, allocations: 232 kB / 0.9599 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.8382, allocations: 0.5668 MB / 0.9604 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.8387, allocations: 330.9 kB / 0.9607 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.8389, allocations: 133.3 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.8393, allocations: 188.8 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.8393, allocations: 15.03 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.8399, allocations: 290.3 kB / 0.9613 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.84, allocations: 94.77 kB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.8402, allocations: 159 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.8408, allocations: 456.1 kB / 0.962 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8409, allocations: 0 / 0.962 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.098e-06/0.8409, allocations: 1.219 kB / 0.962 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.8409, allocations: 0 / 0.962 GB, free: 2.449 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.001192/0.8421, allocations: 0.5534 MB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.8422, allocations: 13.78 kB / 0.9626 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008522/0.843, allocations: 111 kB / 0.9627 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.8434, allocations: 281.6 kB / 0.963 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.8436, allocations: 45.98 kB / 0.963 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.8436, allocations: 28.94 kB / 0.963 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.8444, allocations: 421.5 kB / 0.9634 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8445, allocations: 8.906 kB / 0.9634 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.8445, allocations: 15.98 kB / 0.9635 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.8446, allocations: 32 kB / 0.9635 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.8453, allocations: 339.5 kB / 0.9638 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.8475, allocations: 2.091 MB / 0.9658 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.8482, allocations: 206.9 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.8486, allocations: 141.5 kB / 0.9662 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.8487, allocations: 13.52 kB / 0.9662 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.8487, allocations: 36.34 kB / 0.9662 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.8487, allocations: 0 / 0.9662 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008231/0.8496, allocations: 272.5 kB / 0.9665 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.8496, allocations: 57.19 kB / 0.9665 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.85, allocations: 236.4 kB / 0.9668 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.8501, allocations: 30.7 kB / 0.9668 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.8503, allocations: 188.1 kB / 0.967 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.8503, allocations: 58.25 kB / 0.967 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.8504, allocations: 29.3 kB / 0.9671 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.8506, allocations: 335.8 kB / 0.9674 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.8508, allocations: 80.38 kB / 0.9675 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.8512, allocations: 186.9 kB / 0.9676 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.8517, allocations: 287.4 kB / 0.9679 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8518, allocations: 1.062 kB / 0.9679 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006237/0.8524, allocations: 302.8 kB / 0.9682 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.8525, allocations: 184.3 kB / 0.9684 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8526, allocations: 3.875 kB / 0.9684 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.8526, allocations: 13.09 kB / 0.9684 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.853, allocations: 72.45 kB / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.8542, allocations: 1.302 MB / 0.9697 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.8545, allocations: 39.27 kB / 0.9698 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.8545, allocations: 13.03 kB / 0.9698 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.8545, allocations: 4.312 kB / 0.9698 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005341/0.855, allocations: 247.9 kB / 0.97 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8551, allocations: 3 kB / 0.97 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.8551, allocations: 9.094 kB / 0.97 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.8555, allocations: 77.2 kB / 0.9701 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.8565, allocations: 1.302 MB / 0.9714 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.8567, allocations: 37.95 kB / 0.9714 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.8568, allocations: 13.72 kB / 0.9714 GB, free: 10.09 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002776/0.8571, allocations: 248.6 kB / 0.9717 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.8571, allocations: 20.91 kB / 0.9717 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.8572, allocations: 28.14 kB / 0.9717 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8572, allocations: 2.062 kB / 0.9717 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8572, allocations: 0 / 0.9717 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8572, allocations: 0.9688 kB / 0.9717 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.8584, allocations: 0.748 MB / 0.9724 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8585, allocations: 1.406 kB / 0.9724 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.8588, allocations: 51.38 kB / 0.9725 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.8588, allocations: 2.344 kB / 0.9725 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.8589, allocations: 6.375 kB / 0.9725 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.8589, allocations: 6 kB / 0.9725 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8589, allocations: 2.188 kB / 0.9725 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.8594, allocations: 339.6 kB / 0.9728 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.8595, allocations: 108.1 kB / 0.9729 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.8595, allocations: 6.75 kB / 0.9729 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.8597, allocations: 15.2 kB / 0.973 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.8598, allocations: 14.3 kB / 0.973 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.8598, allocations: 8.719 kB / 0.973 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001729/0.86, allocations: 163.9 kB / 0.9731 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.86, allocations: 3.938 kB / 0.9731 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006099/0.8606, allocations: 113 kB / 0.9732 GB, free: 8.605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.8607, allocations: 106.6 kB / 0.9734 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.8619, allocations: 349.5 kB / 0.9737 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8619, allocations: 4.125 kB / 0.9737 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.8623, allocations: 99.97 kB / 0.9738 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.8628, allocations: 43.53 kB / 0.9738 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.8639, allocations: 0.6057 MB / 0.9744 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.8643, allocations: 0.7845 MB / 0.9752 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.8646, allocations: 57.84 kB / 0.9752 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.8646, allocations: 22.95 kB / 0.9753 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.8646, allocations: 0 / 0.9753 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of Templates: time 0.005857/0.8705, allocations: 2.228 MB / 0.9774 GB, free: 5.945 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