Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001359/0.001359, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.001323/0.001323, 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 68.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.879, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005499/0.8845, allocations: 3.386 MB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.887, allocations: 1.484 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.8871, allocations: 4 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.8888, allocations: 0.7022 MB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.8892, allocations: 183.1 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.8899, allocations: 260.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.8903, allocations: 415.1 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.8909, allocations: 299.6 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.8911, allocations: 155.5 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.8914, allocations: 191.3 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.8914, allocations: 24 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.8918, allocations: 235.4 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.8919, allocations: 111.7 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.8921, allocations: 147.3 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.8926, allocations: 460.4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8926, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8926, allocations: 4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8926, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 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.001055/0.8937, allocations: 0.5965 MB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.8938, allocations: 8.922 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.8945, allocations: 104.5 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.8949, allocations: 280.5 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.895, allocations: 54.81 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.895, allocations: 28.31 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.8956, allocations: 424.6 kB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8957, allocations: 3.938 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.8957, allocations: 12 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.8958, allocations: 28.55 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.8964, allocations: 329.9 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.8986, allocations: 2.092 MB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.8992, allocations: 198.7 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.8995, allocations: 132.8 kB / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.8995, allocations: 0 / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8996, allocations: 38.47 kB / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.8996, allocations: 0 / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.0006633/0.9002, allocations: 253.2 kB / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.9003, allocations: 63.41 kB / 1.18 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.9005, allocations: 224.9 kB / 1.18 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.9006, allocations: 29.7 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.9008, allocations: 191.9 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.9008, allocations: 59.19 kB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.9009, allocations: 61.59 kB / 1.18 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9011, allocations: 326.8 kB / 1.18 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.9013, allocations: 84.8 kB / 1.181 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.9015, allocations: 173.7 kB / 1.181 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.9019, allocations: 279.5 kB / 1.181 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9019, allocations: 0 / 1.181 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005086/0.9025, allocations: 285.3 kB / 1.181 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9025, allocations: 12.09 kB / 1.181 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9025, allocations: 7.938 kB / 1.181 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.9025, allocations: 7.938 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.9029, allocations: 71.89 kB / 1.181 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.9041, allocations: 1.4 MB / 1.183 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.9043, allocations: 35.67 kB / 1.183 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.9043, allocations: 12 kB / 1.183 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002711/0.9046, allocations: 192.1 kB / 1.183 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002315/0.9049, allocations: 188.2 kB / 1.183 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003938/0.9053, allocations: 277.5 kB / 1.183 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.9053, allocations: 3.984 kB / 1.183 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0007167/0.906, allocations: 277.4 kB / 1.184 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.906, allocations: 8.062 kB / 1.184 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.906, allocations: 4 kB / 1.184 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.9061, allocations: 8 kB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.9065, allocations: 71.83 kB / 1.184 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000975/0.9075, allocations: 1.408 MB / 1.185 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.9077, allocations: 31.73 kB / 1.185 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.9077, allocations: 15.94 kB / 1.185 GB, free: 0.6094 MB / 0.9044 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.0001244/0.9079, allocations: 197.2 kB / 1.185 GB, free: 420 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.9079, allocations: 27.89 kB / 1.185 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.908, allocations: 26.12 kB / 1.185 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.908, allocations: 0 / 1.185 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.908, allocations: 4 kB / 1.185 GB, free: 360 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.908, allocations: 3.984 kB / 1.185 GB, free: 356 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.9091, allocations: 0.7349 MB / 1.186 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9091, allocations: 4 kB / 1.186 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.9094, allocations: 43.97 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.9094, allocations: 4 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9094, allocations: 4 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9095, allocations: 4 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9095, allocations: 3.938 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.9099, allocations: 322 kB / 1.186 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.91, allocations: 116.8 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.91, allocations: 4 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.9102, allocations: 15.98 kB / 1.187 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.9102, allocations: 15.86 kB / 1.187 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.9103, allocations: 12 kB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001348/0.9104, allocations: 156.5 kB / 1.187 GB, free: 14.78 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9104, allocations: 0 / 1.187 GB, free: 14.78 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005437/0.911, allocations: 119.6 kB / 1.187 GB, free: 14.66 MB / 0.92 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.0001341/0.9111, allocations: 108.6 kB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009849/0.9121, allocations: 333.1 kB / 1.187 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9121, allocations: 0 / 1.187 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.9124, allocations: 91.83 kB / 1.187 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.9129, allocations: 48.7 kB / 1.187 GB, free: 14.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.9138, allocations: 0.5208 MB / 1.188 GB, free: 13.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.9141, allocations: 0.7753 MB / 1.189 GB, free: 12.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.9142, allocations: 23.44 kB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.9142, allocations: 0 / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of Templates: time 0.005549/0.9198, allocations: 3.89 MB / 1.193 GB, free: 8.82 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches