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.001466/0.001466, allocations: 105.1 kB / 16.41 MB, free: 5.977 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.001711/0.001711, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8583/0.8599, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004562/0.8645, allocations: 3.371 MB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.8666, allocations: 1.48 MB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.8668, allocations: 8.875 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.8682, allocations: 0.705 MB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.8686, allocations: 189.4 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.8692, allocations: 243.6 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.8697, allocations: 416.1 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.8703, allocations: 306.9 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.8705, allocations: 162.7 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.8708, allocations: 189.1 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.8709, allocations: 25.66 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.8713, allocations: 238.8 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.8715, allocations: 106.8 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.8716, allocations: 150.2 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.8722, allocations: 450.3 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8722, allocations: 0.8438 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8722, allocations: 3.938 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8723, allocations: 0 / 1.096 GB, free: 0.7227 MB / 0.8575 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.0009062/0.8732, allocations: 0.6014 MB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8732, allocations: 10.11 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.8739, allocations: 105.6 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.8743, allocations: 278 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.8744, allocations: 50.83 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.8744, allocations: 25.62 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.8752, allocations: 430.3 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8752, allocations: 5.125 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.8752, allocations: 6.812 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.8753, allocations: 34.17 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.876, allocations: 331.5 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.8783, allocations: 2.087 MB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.8788, allocations: 204 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.8792, allocations: 128.8 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.8792, allocations: 2.031 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8792, allocations: 37.28 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.8792, allocations: 0 / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0006715/0.8799, allocations: 266 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.88, allocations: 53.72 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.8802, allocations: 224.7 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.8802, allocations: 26.55 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.8804, allocations: 196.8 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.8804, allocations: 59.75 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.8805, allocations: 54.47 kB / 1.101 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8807, allocations: 330.3 kB / 1.102 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.8809, allocations: 83.2 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.8811, allocations: 187.2 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.8816, allocations: 270.9 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8816, allocations: 1 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005691/0.8822, allocations: 295.3 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8822, allocations: 5.938 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8822, allocations: 7.609 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.8823, allocations: 9.812 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.8827, allocations: 68.47 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.8837, allocations: 1.401 MB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.8839, allocations: 33.77 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.884, allocations: 10.42 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002888/0.8843, allocations: 195.6 kB / 1.104 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002511/0.8845, allocations: 186.9 kB / 1.104 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004281/0.885, allocations: 276.9 kB / 1.105 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.885, allocations: 1.031 kB / 1.105 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006207/0.8856, allocations: 285.6 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8856, allocations: 7.453 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8856, allocations: 11.27 kB / 1.105 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.8857, allocations: 5.156 kB / 1.105 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.8861, allocations: 65.06 kB / 1.105 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009549/0.887, allocations: 1.408 MB / 1.106 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.8872, allocations: 30.03 kB / 1.106 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.8873, allocations: 11.33 kB / 1.106 GB, free: 8.547 MB / 0.8731 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.0001286/0.8874, allocations: 200.2 kB / 1.107 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.8875, allocations: 23 kB / 1.107 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.8875, allocations: 34.52 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8875, allocations: 1.062 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8875, allocations: 1.875 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8875, allocations: 0.6562 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.8886, allocations: 0.7263 MB / 1.107 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8886, allocations: 2.109 kB / 1.107 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.889, allocations: 48.72 kB / 1.107 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.889, allocations: 3.453 kB / 1.107 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.889, allocations: 2.844 kB / 1.107 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.889, allocations: 11.47 kB / 1.107 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.889, allocations: 1.312 kB / 1.107 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.8895, allocations: 327.2 kB / 1.108 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.8896, allocations: 108.7 kB / 1.108 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.8896, allocations: 3.328 kB / 1.108 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.8897, allocations: 12.23 kB / 1.108 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.8898, allocations: 22.88 kB / 1.108 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.8898, allocations: 4.188 kB / 1.108 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001401/0.89, allocations: 162.8 kB / 1.108 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.89, allocations: 4 kB / 1.108 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005246/0.8905, allocations: 112.9 kB / 1.108 GB, free: 7.254 MB / 0.8731 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.0001174/0.8906, allocations: 108.9 kB / 1.108 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009953/0.8916, allocations: 333.6 kB / 1.109 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8916, allocations: 0 / 1.109 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.892, allocations: 98.16 kB / 1.109 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.8924, allocations: 44.62 kB / 1.109 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.8933, allocations: 0.5237 MB / 1.109 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.8937, allocations: 0.7766 MB / 1.11 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.8938, allocations: 21.25 kB / 1.11 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8938, allocations: 0 / 1.11 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of Templates: time 0.006924/0.9007, allocations: 3.888 MB / 1.114 GB, free: 5.621 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches