Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009961/0.0009961, allocations: 89.89 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.008372/0.008372, allocations: 171.2 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 12 kB / 0.8728 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7785, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003678/0.7822, allocations: 3.042 MB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.7844, allocations: 1.472 MB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.7846, allocations: 8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.7848, allocations: 47.64 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.7852, allocations: 175.2 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.7857, allocations: 239.5 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.7863, allocations: 0.5615 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.7867, allocations: 320.4 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.7868, allocations: 135.4 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.7872, allocations: 187.3 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.7872, allocations: 12 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.7876, allocations: 295.3 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.7877, allocations: 95.7 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.7879, allocations: 153 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.7884, allocations: 460.4 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7884, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7884, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.7884, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 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.0008889/0.7893, allocations: 0.5537 MB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.7894, allocations: 15.97 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.7901, allocations: 112.5 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.7904, allocations: 276.4 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.7905, allocations: 42.83 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.7905, allocations: 28.36 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.7912, allocations: 437 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.7913, allocations: 3.938 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.7913, allocations: 12 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.7913, allocations: 24.55 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.792, allocations: 342 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.7943, allocations: 2.1 MB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.7949, allocations: 202.7 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.7953, allocations: 152.7 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.7953, allocations: 0 / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.7954, allocations: 34.56 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.7954, allocations: 0 / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006733/0.7961, allocations: 270.4 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.7961, allocations: 59.34 kB / 1.035 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.7964, allocations: 228.9 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.7964, allocations: 29.7 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.7965, allocations: 187.9 kB / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.7966, allocations: 67.09 kB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.7966, allocations: 25.7 kB / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7967, allocations: 338.8 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.7969, allocations: 79.88 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.7972, allocations: 189.7 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.7977, allocations: 273.8 kB / 1.036 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7977, allocations: 8 kB / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005536/0.7983, allocations: 303.6 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7984, allocations: 197.1 kB / 1.036 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7984, allocations: 4 kB / 1.036 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.7985, allocations: 8 kB / 1.036 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.7989, allocations: 63.91 kB / 1.036 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.8, allocations: 1.317 MB / 1.038 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.8002, allocations: 35.69 kB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.8002, allocations: 11.98 kB / 1.038 GB, free: 32 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.8002, allocations: 4 kB / 1.038 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005026/0.8007, allocations: 251.6 kB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8008, allocations: 4 kB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.8008, allocations: 8.375 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.8012, allocations: 75.83 kB / 1.038 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.8022, allocations: 1.31 MB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.8024, allocations: 39.89 kB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.8024, allocations: 8 kB / 1.039 GB, free: 14.21 MB / 0.795 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.0002475/0.8027, allocations: 246.2 kB / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.8028, allocations: 19.8 kB / 1.04 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.8028, allocations: 22.19 kB / 1.04 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8028, allocations: 7.984 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.8028, allocations: 0 / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8029, allocations: 7.984 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.804, allocations: 0.7389 MB / 1.04 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8041, allocations: 4 kB / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.8044, allocations: 47.97 kB / 1.04 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.8045, allocations: 0 / 1.04 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.8045, allocations: 8 kB / 1.04 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.8045, allocations: 3.938 kB / 1.04 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.8045, allocations: 4.156 kB / 1.04 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.805, allocations: 336.7 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.8051, allocations: 116.8 kB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.8052, allocations: 0 / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8053, allocations: 19.92 kB / 1.041 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.8054, allocations: 15.92 kB / 1.041 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.8054, allocations: 12 kB / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000152/0.8055, allocations: 160.5 kB / 1.041 GB, free: 12.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8056, allocations: 0 / 1.041 GB, free: 12.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005479/0.8061, allocations: 119.6 kB / 1.041 GB, free: 12.2 MB / 0.795 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.0001338/0.8062, allocations: 103.2 kB / 1.041 GB, free: 12.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.8073, allocations: 339.3 kB / 1.042 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8073, allocations: 4.062 kB / 1.042 GB, free: 11.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.8077, allocations: 99.81 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.8082, allocations: 44.41 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.8092, allocations: 0.6085 MB / 1.042 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.8096, allocations: 0.7716 MB / 1.043 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000184/0.8098, allocations: 65.83 kB / 1.043 GB, free: 10.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.8099, allocations: 19.44 kB / 1.043 GB, free: 10.08 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.8099, allocations: 0 / 1.043 GB, free: 10.08 MB / 0.795 GB Notification: Performance of Templates: time 0.005922/0.8158, allocations: 2.224 MB / 1.045 GB, free: 7.879 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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