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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001341/0.001341, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437 MB / 0.7106 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6452, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004989/0.6502, allocations: 3.416 MB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.6526, allocations: 1.492 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.6528, allocations: 11.94 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.6545, allocations: 0.6584 MB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.655, allocations: 175.3 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.6557, allocations: 239.1 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.6563, allocations: 0.5576 MB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.6567, allocations: 207.8 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.6569, allocations: 139.4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.6572, allocations: 195.3 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.6573, allocations: 16 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005561/0.6578, allocations: 307.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.658, allocations: 99.75 kB / 1.025 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.6582, allocations: 139.3 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.6588, allocations: 353.1 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6588, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6588, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.6588, allocations: 4 kB / 1.025 GB, free: 10.81 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.00111/0.6599, allocations: 0.5965 MB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.66, allocations: 16.03 kB / 1.026 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.6607, allocations: 100.5 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.6611, allocations: 274.1 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.6612, allocations: 50.81 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.6612, allocations: 28.38 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.6619, allocations: 428.6 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.662, allocations: 0 / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.662, allocations: 8 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.6621, allocations: 32.55 kB / 1.027 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.6627, allocations: 329.9 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.6649, allocations: 2.088 MB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.6655, allocations: 202.7 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.6658, allocations: 132.8 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.6658, allocations: 4 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.6659, allocations: 30.56 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.6659, allocations: 0 / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006241/0.6665, allocations: 270.8 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.6666, allocations: 59.39 kB / 1.03 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.6668, allocations: 221 kB / 1.03 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.6668, allocations: 37.69 kB / 1.03 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6669, allocations: 187.9 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.667, allocations: 63.09 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.667, allocations: 57.61 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6672, allocations: 330.8 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.6673, allocations: 84.8 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.6676, allocations: 185.6 kB / 1.031 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.668, allocations: 275.2 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.668, allocations: 0 / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005409/0.6686, allocations: 289.3 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6686, allocations: 7.938 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6686, allocations: 4 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6686, allocations: 15.92 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.6691, allocations: 59.91 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009794/0.6701, allocations: 1.31 MB / 1.033 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6703, allocations: 35.67 kB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.6703, allocations: 12 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002645/0.6706, allocations: 192.1 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002287/0.6708, allocations: 182.6 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003948/0.6712, allocations: 272 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.6712, allocations: 8 kB / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005271/0.6718, allocations: 292.8 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6718, allocations: 9.875 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6718, allocations: 12 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.6718, allocations: 4 kB / 1.034 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.6722, allocations: 63.91 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009413/0.6732, allocations: 1.31 MB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.6734, allocations: 23.84 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.6735, allocations: 11.98 kB / 1.035 GB, free: 15.82 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.000207/0.6737, allocations: 208.1 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.6737, allocations: 19.72 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.6738, allocations: 26.19 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6738, allocations: 4 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6738, allocations: 8.078 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.6738, allocations: 0 / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6751, allocations: 0.7389 MB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6751, allocations: 0 / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.6755, allocations: 51.97 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6755, allocations: 3.938 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.6755, allocations: 4 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.6755, allocations: 3.938 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6755, allocations: 4 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.6761, allocations: 319.5 kB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6762, allocations: 112.8 kB / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.6763, allocations: 4 kB / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.6764, allocations: 15.98 kB / 1.036 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.6765, allocations: 15.92 kB / 1.036 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6765, allocations: 8 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001621/0.6767, allocations: 160.5 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6767, allocations: 0 / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006075/0.6773, allocations: 119.6 kB / 1.037 GB, free: 13.88 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.000142/0.6775, allocations: 99.25 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.6786, allocations: 335.9 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6786, allocations: 448 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.679, allocations: 103.8 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.6794, allocations: 49.09 kB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.6804, allocations: 0.6171 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6808, allocations: 0.7755 MB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.6808, allocations: 23.44 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.6809, allocations: 0 / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of Templates: time 0.005968/0.6868, allocations: 3.853 MB / 1.042 GB, free: 7.953 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/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