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.00124/0.00124, allocations: 106.1 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.001179/0.00118, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.298/2.298, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 65.33 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2659, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005401/0.2713, allocations: 3.375 MB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.2742, allocations: 1.48 MB / 0.955 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.2744, allocations: 8 kB / 0.955 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.2762, allocations: 0.7009 MB / 0.9557 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.2767, allocations: 183.1 kB / 0.9559 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.2773, allocations: 251.3 kB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2778, allocations: 407.2 kB / 0.9565 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.2783, allocations: 319.7 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.2785, allocations: 155.5 kB / 0.957 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.2788, allocations: 195.3 kB / 0.9571 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.2789, allocations: 24 kB / 0.9572 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.2793, allocations: 235.4 kB / 0.9574 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2794, allocations: 107.7 kB / 0.9575 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.2796, allocations: 151.2 kB / 0.9576 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.2801, allocations: 446.7 kB / 0.9581 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2801, allocations: 0 / 0.9581 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2801, allocations: 0 / 0.9581 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2802, allocations: 0 / 0.9581 GB, free: 0.8711 MB / 0.7325 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.001076/0.2812, allocations: 0.6081 MB / 0.9587 GB, free: 220 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2813, allocations: 12.02 kB / 0.9587 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.282, allocations: 100.6 kB / 0.9588 GB, free: 108 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2824, allocations: 272.4 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.2825, allocations: 50.81 kB / 0.9591 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.2825, allocations: 24.38 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.2832, allocations: 428.6 kB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2832, allocations: 0 / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.2832, allocations: 12 kB / 0.9595 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.2833, allocations: 28.55 kB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.2839, allocations: 322 kB / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.2861, allocations: 2.107 MB / 0.9619 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.2867, allocations: 198.7 kB / 0.9621 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.2871, allocations: 132.8 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2871, allocations: 3.938 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2872, allocations: 38.56 kB / 0.9623 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 2.554e-06/0.2872, allocations: 0 / 0.9623 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0006482/0.2878, allocations: 259.8 kB / 0.9625 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2879, allocations: 55.41 kB / 0.9626 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2881, allocations: 225 kB / 0.9628 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2881, allocations: 29.7 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2883, allocations: 195.9 kB / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2883, allocations: 59.11 kB / 0.9631 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.2884, allocations: 49.7 kB / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2886, allocations: 334.8 kB / 0.9634 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2888, allocations: 80.81 kB / 0.9635 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.289, allocations: 196.6 kB / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.2895, allocations: 272.6 kB / 0.9639 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2895, allocations: 0 / 0.9639 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000542/0.29, allocations: 295.9 kB / 0.9642 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2901, allocations: 8 kB / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2901, allocations: 4 kB / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2901, allocations: 7.938 kB / 0.9642 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.2905, allocations: 71.83 kB / 0.9643 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.2917, allocations: 1.397 MB / 0.9657 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2919, allocations: 31.73 kB / 0.9657 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2919, allocations: 12 kB / 0.9657 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000278/0.2922, allocations: 192.2 kB / 0.9659 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002505/0.2924, allocations: 186.5 kB / 0.9661 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004089/0.2929, allocations: 273.4 kB / 0.9663 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2929, allocations: 0 / 0.9663 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005648/0.2934, allocations: 293.2 kB / 0.9666 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2935, allocations: 4 kB / 0.9666 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2935, allocations: 11.94 kB / 0.9666 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.2935, allocations: 8 kB / 0.9666 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2939, allocations: 59.91 kB / 0.9667 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2952, allocations: 1.416 MB / 0.9681 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.2954, allocations: 23.83 kB / 0.9681 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2955, allocations: 20.12 kB / 0.9681 GB, free: 5.66 MB / 0.7481 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.0001664/0.2956, allocations: 188.2 kB / 0.9683 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.2957, allocations: 27.72 kB / 0.9683 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.2958, allocations: 30.11 kB / 0.9684 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2958, allocations: 4 kB / 0.9684 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2958, allocations: 0 / 0.9684 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2958, allocations: 0 / 0.9684 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2969, allocations: 0.731 MB / 0.9691 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2969, allocations: 3.938 kB / 0.9691 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.2973, allocations: 51.84 kB / 0.9691 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2973, allocations: 8.156 kB / 0.9691 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2973, allocations: 0 / 0.9691 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.2974, allocations: 7.984 kB / 0.9691 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2974, allocations: 0 / 0.9691 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.2978, allocations: 326.2 kB / 0.9695 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.298, allocations: 112.8 kB / 0.9696 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.298, allocations: 8 kB / 0.9696 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2982, allocations: 7.984 kB / 0.9696 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.2982, allocations: 15.92 kB / 0.9696 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2983, allocations: 12 kB / 0.9696 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001705/0.2984, allocations: 160.5 kB / 0.9698 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 3.938 kB / 0.9698 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006333/0.2991, allocations: 115.7 kB / 0.9699 GB, free: 3.723 MB / 0.7481 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.0001375/0.2992, allocations: 99.25 kB / 0.97 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.3003, allocations: 334.9 kB / 0.9703 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3003, allocations: 0 / 0.9703 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.3007, allocations: 101.2 kB / 0.9704 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3012, allocations: 50.09 kB / 0.9704 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.3021, allocations: 0.5243 MB / 0.9709 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3025, allocations: 0.7753 MB / 0.9717 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.3026, allocations: 23.44 kB / 0.9717 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.3026, allocations: 0 / 0.9717 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of Templates: time 0.006361/0.3089, allocations: 3.879 MB / 0.9755 GB, free: 13.88 MB / 0.7637 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