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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001607/0.001607, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001777/0.001777, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 68.11 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8799, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004929/0.8849, allocations: 3.372 MB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.8874, allocations: 1.496 MB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.8876, allocations: 4 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.8894, allocations: 0.6931 MB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.8899, allocations: 183.1 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.8907, allocations: 258.7 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.8912, allocations: 407.2 kB / 1.215 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.8918, allocations: 303.5 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.892, allocations: 163.5 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.8924, allocations: 187.3 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.8924, allocations: 24 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.8929, allocations: 243.4 kB / 1.216 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.893, allocations: 107.7 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.8932, allocations: 155.2 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.8937, allocations: 452.5 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8938, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8938, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.8938, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 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.001099/0.8949, allocations: 0.6004 MB / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8949, allocations: 8.031 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007766/0.8957, allocations: 108.5 kB / 1.217 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.8961, allocations: 272.5 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.8962, allocations: 50.81 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.8962, allocations: 28.31 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.8969, allocations: 428.6 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.897, allocations: 0 / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.897, allocations: 12 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.8971, allocations: 28.55 kB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.8977, allocations: 326 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.9004, allocations: 2.092 MB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.901, allocations: 202.7 kB / 1.22 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.9013, allocations: 128.7 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.9013, allocations: 3.984 kB / 1.22 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.9014, allocations: 38.47 kB / 1.22 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.9014, allocations: 0 / 1.22 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0006583/0.902, allocations: 261.2 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.9021, allocations: 51.41 kB / 1.221 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.9024, allocations: 228.9 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.9024, allocations: 25.7 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.9025, allocations: 195.9 kB / 1.221 GB, free: 160 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.9026, allocations: 55.2 kB / 1.221 GB, free: 104 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.9027, allocations: 53.61 kB / 1.221 GB, free: 44 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9028, allocations: 334.8 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.9031, allocations: 84.73 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.9034, allocations: 186.2 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.9038, allocations: 266.5 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9038, allocations: 0 / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005791/0.9044, allocations: 294.9 kB / 1.222 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.9044, allocations: 8 kB / 1.222 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.9045, allocations: 7.938 kB / 1.222 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9045, allocations: 7.938 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.9049, allocations: 71.84 kB / 1.222 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.9061, allocations: 1.408 MB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.9064, allocations: 35.67 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.9064, allocations: 12.16 kB / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002809/0.9067, allocations: 192.1 kB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002447/0.907, allocations: 183.1 kB / 1.224 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004463/0.9074, allocations: 279.8 kB / 1.224 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.9074, allocations: 3.984 kB / 1.224 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005628/0.908, allocations: 285.2 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.908, allocations: 4 kB / 1.225 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.908, allocations: 4 kB / 1.225 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.908, allocations: 8 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.9085, allocations: 67.89 kB / 1.225 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.9095, allocations: 1.408 MB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.9098, allocations: 27.73 kB / 1.226 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.9098, allocations: 19.94 kB / 1.226 GB, free: 10.4 MB / 0.9512 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.0001428/0.9099, allocations: 200.3 kB / 1.226 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.91, allocations: 19.81 kB / 1.226 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.9101, allocations: 30.11 kB / 1.226 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.9101, allocations: 4 kB / 1.226 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9101, allocations: 0 / 1.226 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9101, allocations: 0 / 1.226 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.9113, allocations: 0.7271 MB / 1.227 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9113, allocations: 4 kB / 1.227 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.9116, allocations: 51.89 kB / 1.227 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9117, allocations: 4 kB / 1.227 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.9117, allocations: 8.156 kB / 1.227 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9117, allocations: 4 kB / 1.227 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9117, allocations: 0 / 1.227 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.9122, allocations: 325.3 kB / 1.228 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.9123, allocations: 112.8 kB / 1.228 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.9123, allocations: 3.984 kB / 1.228 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.9125, allocations: 12 kB / 1.228 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.9125, allocations: 11.92 kB / 1.228 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.9126, allocations: 12 kB / 1.228 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001572/0.9127, allocations: 160.5 kB / 1.228 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9127, allocations: 0 / 1.228 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005753/0.9133, allocations: 119.6 kB / 1.228 GB, free: 8.461 MB / 0.9512 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.00014/0.9135, allocations: 115.1 kB / 1.228 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.9146, allocations: 334.8 kB / 1.228 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9146, allocations: 0 / 1.228 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.9149, allocations: 89.31 kB / 1.229 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.9154, allocations: 52.27 kB / 1.229 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.9163, allocations: 0.5126 MB / 1.229 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.9167, allocations: 0.7753 MB / 1.23 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.9168, allocations: 23.42 kB / 1.23 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.9168, allocations: 0 / 1.23 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of Templates: time 0.006669/0.9235, allocations: 3.899 MB / 1.234 GB, free: 2.605 MB / 0.9512 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