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.001367/0.001372, allocations: 108.7 kB / 16.27 MB, free: 6.414 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.001447/0.001447, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.563/2.563, allocations: 437.1 MB / 0.711 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 64.69 kB / 0.8699 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3002, allocations: 151.6 MB / 1.018 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005564/0.3058, allocations: 3.39 MB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3084, allocations: 1.472 MB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.3086, allocations: 8 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.3104, allocations: 0.6976 MB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.3109, allocations: 183.1 kB / 1.024 GB, free: 4.957 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.3116, allocations: 258.9 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000515/0.3121, allocations: 407.1 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.3127, allocations: 308 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3129, allocations: 155.5 kB / 1.025 GB, free: 3.852 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.3134, allocations: 195.3 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.3135, allocations: 24 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.3139, allocations: 235.4 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.3141, allocations: 99.78 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3143, allocations: 151.2 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.3149, allocations: 450.7 kB / 1.026 GB, free: 2.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.315, allocations: 7.938 kB / 1.026 GB, free: 2.711 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.315, allocations: 0 / 1.026 GB, free: 2.711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.315, allocations: 0 / 1.026 GB, free: 2.711 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.001068/0.3161, allocations: 0.6003 MB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3161, allocations: 8.922 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.3169, allocations: 108.5 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3173, allocations: 269.5 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.3173, allocations: 50.81 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.3174, allocations: 28.31 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.3182, allocations: 424.6 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3182, allocations: 0 / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.3183, allocations: 12 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.3183, allocations: 32.53 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.319, allocations: 325.9 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.3214, allocations: 2.096 MB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.322, allocations: 205.3 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3224, allocations: 128.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3224, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3224, allocations: 38.56 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.3224, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006741/0.3231, allocations: 257.1 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3232, allocations: 51.41 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3234, allocations: 225 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3234, allocations: 33.7 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3236, allocations: 199.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.3236, allocations: 63.05 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.3237, allocations: 53.61 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3239, allocations: 330.8 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3241, allocations: 80.8 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3244, allocations: 181.7 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.3248, allocations: 275.2 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3248, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006801/0.3255, allocations: 293 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3256, allocations: 8 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3256, allocations: 8.375 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3256, allocations: 15.88 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.326, allocations: 67.89 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3272, allocations: 1.404 MB / 1.033 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3274, allocations: 35.73 kB / 1.033 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3274, allocations: 12 kB / 1.033 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002723/0.3277, allocations: 188.1 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002492/0.328, allocations: 188.1 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004668/0.3284, allocations: 276.2 kB / 1.034 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3284, allocations: 4 kB / 1.034 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005578/0.329, allocations: 289.4 kB / 1.034 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.329, allocations: 4.031 kB / 1.034 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.329, allocations: 8 kB / 1.034 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.3291, allocations: 8 kB / 1.034 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.3295, allocations: 59.91 kB / 1.034 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.3305, allocations: 1.408 MB / 1.036 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3307, allocations: 27.83 kB / 1.036 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3308, allocations: 16 kB / 1.036 GB, free: 7.516 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.0001361/0.3309, allocations: 192.3 kB / 1.036 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.331, allocations: 23.72 kB / 1.036 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.331, allocations: 34.11 kB / 1.036 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.331, allocations: 0 / 1.036 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3311, allocations: 4 kB / 1.036 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3311, allocations: 0 / 1.036 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3322, allocations: 0.7348 MB / 1.037 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3322, allocations: 4 kB / 1.037 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3326, allocations: 51.91 kB / 1.037 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3326, allocations: 4 kB / 1.037 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3326, allocations: 0 / 1.037 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.3327, allocations: 4.156 kB / 1.037 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3327, allocations: 4 kB / 1.037 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.3332, allocations: 329.5 kB / 1.037 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3333, allocations: 112.8 kB / 1.037 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3333, allocations: 7.938 kB / 1.037 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3335, allocations: 15.98 kB / 1.037 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.3335, allocations: 15.92 kB / 1.037 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3335, allocations: 11.94 kB / 1.037 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001543/0.3337, allocations: 160.5 kB / 1.037 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3337, allocations: 4 kB / 1.037 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005619/0.3343, allocations: 111.7 kB / 1.038 GB, free: 5.574 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.0001182/0.3344, allocations: 108.3 kB / 1.038 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3355, allocations: 344.3 kB / 1.038 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3355, allocations: 0 / 1.038 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.3359, allocations: 95.81 kB / 1.038 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3363, allocations: 49.16 kB / 1.038 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3374, allocations: 0.5128 MB / 1.039 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3378, allocations: 0.7714 MB / 1.039 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3378, allocations: 27.44 kB / 1.039 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3378, allocations: 0 / 1.039 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of Templates: time 0.006433/0.3443, allocations: 3.873 MB / 1.043 GB, free: 15.73 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=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/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