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.001151/0.001151, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001082/0.001082, allocations: 187 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8969, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005249/0.9022, allocations: 3.37 MB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.9048, allocations: 1.489 MB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.9051, allocations: 5 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.9068, allocations: 0.7046 MB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000546/0.9073, allocations: 189.3 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.9082, allocations: 246.4 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.9088, allocations: 405.8 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.9094, allocations: 307.4 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.9096, allocations: 158.7 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.91, allocations: 200.5 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.9101, allocations: 30.16 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.9107, allocations: 231.6 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.9108, allocations: 108.7 kB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.911, allocations: 147 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.9117, allocations: 450 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9117, allocations: 0.6562 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.596e-06/0.9117, allocations: 0.7031 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.9117, allocations: 4.562 kB / 1.096 GB, free: 0.7109 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.001103/0.9129, allocations: 0.6082 MB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9129, allocations: 9.531 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.9137, allocations: 103.6 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.9141, allocations: 281.5 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.9142, allocations: 51.36 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.9142, allocations: 24.88 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.9151, allocations: 421.5 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.9151, allocations: 5.5 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.9151, allocations: 14.5 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.9152, allocations: 30.75 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.9159, allocations: 323.1 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.9184, allocations: 2.088 MB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.919, allocations: 203.2 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.9195, allocations: 128.5 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.9195, allocations: 2.859 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9195, allocations: 40.12 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.9196, allocations: 0.8438 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007015/0.9203, allocations: 258.3 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9203, allocations: 53.72 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.9206, allocations: 224.6 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.9206, allocations: 29.7 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.9208, allocations: 200.9 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.9209, allocations: 56.25 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.921, allocations: 58.38 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9211, allocations: 329.6 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.9213, allocations: 79.12 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.9216, allocations: 187.5 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.9221, allocations: 271.3 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9221, allocations: 1.125 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006042/0.9227, allocations: 289.9 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.9227, allocations: 7.422 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9228, allocations: 2.969 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.9228, allocations: 14.48 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.9232, allocations: 72.45 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.9244, allocations: 1.404 MB / 1.104 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.9246, allocations: 34.36 kB / 1.104 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.9246, allocations: 15.67 kB / 1.104 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003391/0.925, allocations: 186.8 kB / 1.104 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000266/0.9253, allocations: 186.1 kB / 1.104 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004488/0.9257, allocations: 276.8 kB / 1.105 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.9257, allocations: 1.922 kB / 1.105 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006774/0.9264, allocations: 284.6 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9264, allocations: 7.469 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.9265, allocations: 4.031 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.9265, allocations: 5.312 kB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.9269, allocations: 73.17 kB / 1.105 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.9279, allocations: 1.399 MB / 1.106 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.9282, allocations: 31 kB / 1.106 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.9282, allocations: 17.66 kB / 1.106 GB, free: 8.543 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.0001465/0.9284, allocations: 198.4 kB / 1.107 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.9284, allocations: 26.14 kB / 1.107 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.9285, allocations: 29.2 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9285, allocations: 2.969 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9285, allocations: 64 / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.9285, allocations: 6.172 kB / 1.107 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9296, allocations: 0.7229 MB / 1.107 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9296, allocations: 5.469 kB / 1.107 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.93, allocations: 49.41 kB / 1.107 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.93, allocations: 6.672 kB / 1.107 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.93, allocations: 7.375 kB / 1.107 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.93, allocations: 1.312 kB / 1.107 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.9301, allocations: 6.203 kB / 1.107 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.9305, allocations: 323.8 kB / 1.108 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.9306, allocations: 112.6 kB / 1.108 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.9306, allocations: 7.422 kB / 1.108 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.9308, allocations: 8.281 kB / 1.108 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.9309, allocations: 23.17 kB / 1.108 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9309, allocations: 4.094 kB / 1.108 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001634/0.9311, allocations: 163 kB / 1.108 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9311, allocations: 0 / 1.108 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005978/0.9317, allocations: 116.8 kB / 1.108 GB, free: 7.246 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.0001285/0.9318, allocations: 104.9 kB / 1.108 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.9329, allocations: 333.8 kB / 1.109 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9329, allocations: 1.031 kB / 1.109 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.9333, allocations: 93.44 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.000527/0.9338, allocations: 47.75 kB / 1.109 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9349, allocations: 0.5221 MB / 1.109 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.9353, allocations: 0.7719 MB / 1.11 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.9354, allocations: 21.66 kB / 1.11 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of SimCode: time 1.884e-06/0.9354, allocations: 5.219 kB / 1.11 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.008348/0.9438, allocations: 3.903 MB / 1.114 GB, free: 5.605 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