Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 219.5 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.454/3.454, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 72.06 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005905/0.3441, allocations: 3.345 MB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.347, allocations: 1.441 MB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.3472, allocations: 11.88 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.3491, allocations: 0.7038 MB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.3497, allocations: 195 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.3505, allocations: 243.5 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.3511, allocations: 423.2 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.3517, allocations: 236 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.352, allocations: 167.4 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.3524, allocations: 191.3 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.3525, allocations: 32 kB / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.3529, allocations: 215.4 kB / 1.372 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3531, allocations: 107.7 kB / 1.372 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.3533, allocations: 127.4 kB / 1.372 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.354, allocations: 458.3 kB / 1.372 GB, free: 5.762 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.354, allocations: 0 / 1.372 GB, free: 5.762 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.402e-06/0.354, allocations: 0 / 1.372 GB, free: 5.762 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.354, allocations: 4 kB / 1.372 GB, free: 5.758 MB / 1.061 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.001198/0.3552, allocations: 0.5441 MB / 1.373 GB, free: 5.184 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3553, allocations: 8.031 kB / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.356, allocations: 104.6 kB / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3565, allocations: 222.8 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3566, allocations: 76.61 kB / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.3567, allocations: 24.38 kB / 1.373 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.3575, allocations: 488.4 kB / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3575, allocations: 0 / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3575, allocations: 15.94 kB / 1.374 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.3576, allocations: 28.64 kB / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.3582, allocations: 326.3 kB / 1.374 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.3606, allocations: 1.405 MB / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.3612, allocations: 194.6 kB / 1.376 GB, free: 2.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.3616, allocations: 128.7 kB / 1.376 GB, free: 2.035 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3616, allocations: 7.938 kB / 1.376 GB, free: 2.027 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3616, allocations: 38.56 kB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3616, allocations: 0 / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006751/0.3623, allocations: 250.8 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3624, allocations: 59.25 kB / 1.376 GB, free: 1.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3626, allocations: 210.7 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3626, allocations: 25.7 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3628, allocations: 204.3 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.3629, allocations: 63.47 kB / 1.377 GB, free: 1.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.363, allocations: 57.66 kB / 1.377 GB, free: 1.086 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3632, allocations: 330.8 kB / 1.377 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3634, allocations: 80.8 kB / 1.377 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.3637, allocations: 214.1 kB / 1.377 GB, free: 420 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.3642, allocations: 271.2 kB / 1.377 GB, free: 104 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3642, allocations: 8 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006127/0.3648, allocations: 293.1 kB / 1.378 GB, free: 15.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3649, allocations: 10.47 kB / 1.378 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3649, allocations: 8 kB / 1.378 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3649, allocations: 4 kB / 1.378 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.3653, allocations: 67.84 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.3667, allocations: 1.278 MB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.3669, allocations: 31.77 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3669, allocations: 16 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.3672, allocations: 196.9 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002959/0.3675, allocations: 207.8 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004635/0.368, allocations: 260.7 kB / 1.38 GB, free: 13.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.368, allocations: 4 kB / 1.38 GB, free: 13.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005749/0.3686, allocations: 294.9 kB / 1.38 GB, free: 13.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3686, allocations: 8 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3686, allocations: 4 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.3686, allocations: 4 kB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.369, allocations: 68.33 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.3701, allocations: 1.282 MB / 1.381 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3703, allocations: 31.83 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3704, allocations: 15.94 kB / 1.381 GB, free: 11.73 MB / 1.076 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.0001514/0.3705, allocations: 196.1 kB / 1.382 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.3706, allocations: 27.83 kB / 1.382 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.3706, allocations: 29.95 kB / 1.382 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3706, allocations: 0 / 1.382 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3706, allocations: 0 / 1.382 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3706, allocations: 11.86 kB / 1.382 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3719, allocations: 0.5792 MB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3719, allocations: 7.938 kB / 1.382 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.3722, allocations: 52.06 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3722, allocations: 3.984 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3722, allocations: 8 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3722, allocations: 4 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3722, allocations: 0 / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.3727, allocations: 313.3 kB / 1.383 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.3728, allocations: 35.83 kB / 1.383 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3728, allocations: 4 kB / 1.383 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.373, allocations: 19.92 kB / 1.383 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.373, allocations: 7.984 kB / 1.383 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3731, allocations: 15.98 kB / 1.383 GB, free: 10.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001372/0.3732, allocations: 144.3 kB / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3732, allocations: 0 / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005712/0.3738, allocations: 127.6 kB / 1.383 GB, free: 10.06 MB / 1.076 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.0001641/0.3739, allocations: 96.31 kB / 1.383 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.375, allocations: 325 kB / 1.383 GB, free: 9.641 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.375, allocations: 4 kB / 1.383 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.3754, allocations: 84.25 kB / 1.383 GB, free: 9.555 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3758, allocations: 55.91 kB / 1.383 GB, free: 9.504 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3768, allocations: 0.5206 MB / 1.384 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.377, allocations: 177 kB / 1.384 GB, free: 8.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.3771, allocations: 23.44 kB / 1.384 GB, free: 8.727 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.3771, allocations: 0 / 1.384 GB, free: 8.727 MB / 1.076 GB Notification: Performance of Templates: time 0.007226/0.3843, allocations: 3.941 MB / 1.388 GB, free: 4.793 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.110170024912804]