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.001721/0.001721, allocations: 103.2 kB / 16.27 MB, free: 6 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.001948/0.001948, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.709/2.709, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.56 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005858/0.3402, allocations: 3.38 MB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3429, allocations: 1.472 MB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.3432, allocations: 11.94 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.345, allocations: 0.6978 MB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.3455, allocations: 191 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.3462, allocations: 252.3 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.3468, allocations: 403.2 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.3474, allocations: 304 kB / 1.025 GB, free: 3.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.3477, allocations: 163.4 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.3481, allocations: 191.3 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.3482, allocations: 24 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.3487, allocations: 235.4 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3488, allocations: 107.7 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.349, allocations: 143.3 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.3497, allocations: 454.6 kB / 1.026 GB, free: 2.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3497, allocations: 0 / 1.026 GB, free: 2.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3497, allocations: 0 / 1.026 GB, free: 2.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3497, allocations: 0 / 1.026 GB, free: 2.637 MB / 0.795 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.001206/0.3509, allocations: 0.6042 MB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.351, allocations: 8.922 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/0.3518, allocations: 108.4 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3522, allocations: 273.4 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/0.3523, allocations: 46.83 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.3524, allocations: 20.38 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.3532, allocations: 436.6 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3532, allocations: 0 / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.3532, allocations: 15.98 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.3533, allocations: 24.55 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.3539, allocations: 333.9 kB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.3565, allocations: 2.088 MB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.3571, allocations: 202.6 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.3575, allocations: 132.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3575, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3576, allocations: 38.56 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3576, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006699/0.3582, allocations: 263.4 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3583, allocations: 55.41 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3586, allocations: 225 kB / 1.03 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3586, allocations: 25.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3588, allocations: 195.9 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.3588, allocations: 59.11 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.3589, allocations: 57.61 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3591, allocations: 334.8 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3593, allocations: 80.8 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3596, allocations: 181.7 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.3601, allocations: 276.5 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3601, allocations: 3.938 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005742/0.3607, allocations: 291.7 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3607, allocations: 8 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3607, allocations: 4 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3607, allocations: 7.938 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.3612, allocations: 71.89 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.3624, allocations: 1.413 MB / 1.033 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3626, allocations: 31.81 kB / 1.033 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3627, allocations: 8 kB / 1.033 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002893/0.3629, allocations: 192.1 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002967/0.3633, allocations: 191.7 kB / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000471/0.3637, allocations: 269.5 kB / 1.034 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.3637, allocations: 3.984 kB / 1.034 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005619/0.3643, allocations: 294.9 kB / 1.034 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3643, allocations: 7.938 kB / 1.034 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3643, allocations: 4 kB / 1.034 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.3644, allocations: 4 kB / 1.034 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.3647, allocations: 64.38 kB / 1.034 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3659, allocations: 1.408 MB / 1.036 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3661, allocations: 27.83 kB / 1.036 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3661, allocations: 12 kB / 1.036 GB, free: 7.438 MB / 0.8106 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.0001462/0.3663, allocations: 194.8 kB / 1.036 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.3663, allocations: 19.72 kB / 1.036 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.3664, allocations: 38.11 kB / 1.036 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3664, allocations: 0 / 1.036 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.3664, allocations: 4.062 kB / 1.036 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3664, allocations: 4 kB / 1.036 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3676, allocations: 0.7388 MB / 1.037 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3676, allocations: 4 kB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.368, allocations: 47.97 kB / 1.037 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.368, allocations: 4 kB / 1.037 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.368, allocations: 7.984 kB / 1.037 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.368, allocations: 7.938 kB / 1.037 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.368, allocations: 3.984 kB / 1.037 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.3685, allocations: 315.5 kB / 1.037 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3686, allocations: 116.8 kB / 1.037 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3687, allocations: 0 / 1.037 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3688, allocations: 19.98 kB / 1.037 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.3689, allocations: 23.8 kB / 1.037 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3689, allocations: 4 kB / 1.037 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001658/0.3691, allocations: 160.5 kB / 1.037 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3691, allocations: 0 / 1.037 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000532/0.3696, allocations: 115.7 kB / 1.038 GB, free: 5.492 MB / 0.8106 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.0001355/0.3698, allocations: 104.3 kB / 1.038 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.3709, allocations: 351.1 kB / 1.038 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3709, allocations: 448 / 1.038 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.3713, allocations: 91.88 kB / 1.038 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3717, allocations: 47.98 kB / 1.038 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.3727, allocations: 0.5092 MB / 1.039 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3732, allocations: 0.7753 MB / 1.039 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.3733, allocations: 31.42 kB / 1.039 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3733, allocations: 0 / 1.039 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of Templates: time 0.007075/0.3803, allocations: 3.87 MB / 1.043 GB, free: 15.65 MB / 0.8262 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches