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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009495/0.0009495, allocations: 91.92 kB / 16.02 MB, free: 80 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.00116/0.00116, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004429, allocations: 12.59 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.402, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.00455/0.4066, allocations: 3.048 MB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.4092, allocations: 1.461 MB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.4095, allocations: 4 kB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.4098, allocations: 43.62 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.4104, allocations: 183.2 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.4112, allocations: 223.6 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.412, allocations: 0.5731 MB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.4125, allocations: 328.3 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.4129, allocations: 131.4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.4134, allocations: 183.3 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.4135, allocations: 16 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.4141, allocations: 291.3 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.4143, allocations: 99.7 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.4145, allocations: 161 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.4151, allocations: 343.4 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4151, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.128e-06/0.4152, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.4152, allocations: 3.938 kB / 1.066 GB, free: 13.85 MB / 0.8262 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.001104/0.4163, allocations: 0.5537 MB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4163, allocations: 12.03 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.4172, allocations: 108.5 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.4176, allocations: 273.1 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.4177, allocations: 46.83 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.4178, allocations: 20.38 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.4185, allocations: 437 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4186, allocations: 3.938 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.4186, allocations: 15.98 kB / 1.068 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.4187, allocations: 28.55 kB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.4193, allocations: 341.9 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.4217, allocations: 2.104 MB / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.4224, allocations: 208.1 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.4227, allocations: 144.8 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.4228, allocations: 3.984 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4228, allocations: 38.56 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 2.765e-06/0.4228, allocations: 4 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0007196/0.4235, allocations: 266.6 kB / 1.071 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4236, allocations: 63.25 kB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.4238, allocations: 229 kB / 1.071 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4239, allocations: 25.7 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.424, allocations: 191.9 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4241, allocations: 63.09 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.4241, allocations: 25.72 kB / 1.071 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4243, allocations: 330.8 kB / 1.072 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.4245, allocations: 83.94 kB / 1.072 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.4247, allocations: 184.7 kB / 1.072 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.4252, allocations: 282.6 kB / 1.072 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4252, allocations: 4 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005822/0.4258, allocations: 304.9 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.426, allocations: 189.4 kB / 1.073 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.426, allocations: 0 / 1.073 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.426, allocations: 8 kB / 1.073 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.4264, allocations: 67.89 kB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.4275, allocations: 1.31 MB / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.4278, allocations: 43.66 kB / 1.074 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.4278, allocations: 12.16 kB / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.4278, allocations: 5.875 kB / 1.074 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005085/0.4283, allocations: 255.7 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4283, allocations: 4 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.4283, allocations: 7.938 kB / 1.074 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.4287, allocations: 67.89 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000975/0.4297, allocations: 1.306 MB / 1.076 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4299, allocations: 39.67 kB / 1.076 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.43, allocations: 8 kB / 1.076 GB, free: 3.398 MB / 0.8262 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.0002533/0.4302, allocations: 245.1 kB / 1.076 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.4303, allocations: 15.81 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.4304, allocations: 30.17 kB / 1.076 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4304, allocations: 7.938 kB / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4304, allocations: 0 / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4304, allocations: 0 / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4315, allocations: 0.7388 MB / 1.077 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4315, allocations: 4 kB / 1.077 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.4319, allocations: 60.06 kB / 1.077 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4319, allocations: 0 / 1.077 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4319, allocations: 4 kB / 1.077 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4319, allocations: 3.938 kB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4319, allocations: 4 kB / 1.077 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.4324, allocations: 336.7 kB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4326, allocations: 116.7 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4326, allocations: 4 kB / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.4327, allocations: 19.92 kB / 1.077 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4328, allocations: 15.98 kB / 1.077 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4328, allocations: 4 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001623/0.433, allocations: 164.5 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.433, allocations: 0 / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005626/0.4336, allocations: 115.6 kB / 1.077 GB, free: 1.379 MB / 0.8262 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.0001314/0.4337, allocations: 107.7 kB / 1.078 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.4348, allocations: 337.8 kB / 1.078 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4348, allocations: 0 / 1.078 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.4352, allocations: 109.2 kB / 1.078 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.4356, allocations: 41.3 kB / 1.078 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.4366, allocations: 0.6472 MB / 1.079 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.437, allocations: 0.7793 MB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.4371, allocations: 23.44 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of SimCode: time 6.22e-07/0.4371, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.007015/0.4441, allocations: 3.842 MB / 1.083 GB, free: 11.43 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) 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) Reference file matches